Minecraft/Npc

From Wikibooks, open books for an open world
Jump to navigation Jump to search
Npc [edit layout] [edit page]
Npc
HealthUnkillable, hit on creative to remove.
Spawn ruleWith commands. Only available on bedrock edition.
CategorySecret

Mobs summoned with cheats, used for adventure maps.

Abilities and strengths/weaknesses

Other

This mob has no special abilities or disabilities.

Drops

Nothing

Description

They can be given text, buttons with commands and run commands when the ui is opened or closed. You can also change their appearance.

Summon by typing the following in the chat window: /summon npc ~~~.

Npcs can be modified by changing commands and dialog. When giving it commands, it may run them when a button is pressed or when the dialog is opened or closed. The commands can be separated with a new line, unlike when using command blocks. A new selector becomes available: @initiator. This selector selects the player that interacted with the npc.

Strategies

None



Mobs

  • Animals
Sheep
Pig
Cow
Chicken
Bat
Cat
Ocelot
Wolf
Fox
Horse
Donkey
Mule
Llama
Bunny
Frog
Axolotl
Tadpole
Panda
Mooshroom
  • Monsters
Creeper
Zombie
Skeleton
Stray
Witch
Slime
Phantom
Warden
  • Ocean
Cod
Pufferfish
Salmon
Tropical Fish
Squid
Glow Squid
Dolphin
Turtle
Guardian
Elder Guardian
  • Nether
Blaze
Ghast
Piglin
Zombified Piglin
Hoglin
Strider
Wither Skeleton
  • End
Enderman
Endermite
Shulker
  • Illager/Villagers
Villager
Wandering Trader
Illager
Pillager
Evoker
Vex
Ravanger
  • Utility
Snow Golem
Iron Golem
Allay
  • Bosses
Wither
Ender Dragon
  • Secret mobs
Npc