Difference between revisions of "Mob Head"
m |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Object | {{Object | ||
− | |image= | + | |image=Zombiehead.PNG |
|name=Mob Head | |name=Mob Head | ||
|type=Solid | |type=Solid |
Latest revision as of 10:45, 29 December 2021
Mob Head | |
---|---|
Type: | Solid |
Mine with: | Pickaxe |
Drops: | Itself |
Flammable: | No |
Found naturally: | No |
Renewable: | Yes |
Identifier: | mob_head |
The mob head is a decorative item. It comes in 5 types, Zombie, Skeleton, Creeper, Ender dragon, and player skin.
Contents
Obtaining
Mob heads can be mined with anything, but using a pickaxe is fastest.
Charged Creepers
Charged creepers, which are creepers that have been struck by lightning, cause Zombies, Skeletons and Creepers to drop their heads upon death.
Commands
Commands can be used to give the player a mob head. For example, the command give mob_head 1 0 {type:"enderdragon"}
can be used to obtain the dragon head, and is currently the only way of obtaining it. The command give mob_head 5 0 {type:1}
can be used to obtain 5 Frank mob heads.
Commands are the only way of obtaining mob heads for custom skins. The command give mob_head 1 0 {type:66091}
gives the player a Santa mob head, for example. The id for an individual skin is found on its skin page in the skins menu.
Creative Inventory
Through the creative inventory, Zombie, Skeleton, Creeper, Ender dragon, and player mob heads can be obtained, though the only player mob head available there is the one for Frank, which is skin 1.
Usage
Mob heads can be placed. They can face two directions, left or right. They have the same hitbox as a slab.
The Ender dragon head can be powered by redstone, which makes it play an opening and closing mouth animation.
Data Values
Item Data
Mob heads use the type
item tag to determine which mob head it is. A mob head with an unrecognised type defaults to a zombie head. If the type is a skin id that does not exist, it displays the zombie head, however is not called "Zombie Head" it still holds the id, so it is not technically a zombie head and does not stack with others.
Here is a list of all the mob head types:
Mob head | type
|
---|---|
Zombie | "zombie" |
Skeleton | "skeleton" |
Creeper | "creeper" |
Ender dragon | "enderdragon" |
Any skin | The skin's numerical id (eg. 1327) |
Block Data
Mob heads use the facing
block tag when placed:
Orientation | facing
|
---|---|
Left | "left" |
Right | "right" |
Placed mob heads also use the same type
tag as the item to store the type of mob head:
Mob head | type
|
---|---|
Zombie | "zombie" |
Skeleton | "skeleton" |
Creeper | "creeper" |
Ender dragon | "enderdragon" |
Any skin | The skin's numerical id (eg. 1327) |
History
Version | Date | Changes |
---|---|---|
Before 1.29 | Oct 31, 2018 |
|
1.29 | Sep 27, 2019 |
|
Trivia
- The command
summon spawnskin 1 ~ ~ {skin:SKIN_ID,drops:[{item:{id:"mob_head",type:SKIN_ID}}]}
where you replace SKIN_ID with the id of the skin, can be used to summon a skin that drops its own head upon death.