Skip to content

Holograms and NPCs

Client-side holograms and NPCs.

Type Kind Description
Hologram class Text that floats in the world.
HologramAlign enum How the lines of a hologram are aligned.
HologramBillboard enum How a hologram turns towards the players.
HologramOptions class The look of a hologram (the fields of the client’s text display; the defaults are vanilla’s).
Holograms class Creates holograms for this plugin.
Npc class A fake player that stands in the world: the players see it with a name, a skin, equipment and an arm that swings, and a click on it fires {{cref:M:Mc.Scripting.Npcs.OnInteract(System.Action{Mc.Scripting.NpcInteraction})}}.
NpcClick enum What a player did to an NPC.
NpcInteraction struct A click on an NPC ({{cref:M:Mc.Scripting.Npcs.OnInteract(System.Action{Mc.Scripting.NpcInteraction})}}).
NpcPose enum The pose of an NPC.
Npcs class Creates NPCs for this plugin and listens to the clicks on them.
NpcSkin class The skin of an NPC: a texture (the value and signature of a “textures” profile property), or the skin of a player whose profile id is known.
NpcSlot enum The equipment slots of an NPC.