Java Edition:Invalid Mob Wearing Jack o'Lantern
Normally certain mobs can only wear jack o'lanterns via spawning. However, there has been a method to manually give these mobs a jack o'lantern.
Obtaining
From 23w06a (1.19.4 Snapshot) to 1.20 Pre-release 4, mobs that had the CanPickUpLoot
data tag set to true could equip jack o'lanterns, with this tag set to true the player can drop or dispense a jack o'lantern onto the mob and the jack o'lantern will be equip by the mob. During Halloween, certain mobs can naturally spawn wearing jack o'lanterns, meaning the only discontinued aspect is jack o'lanterns with NBT data.
Observability
Jack o'lanterns that have been equipped are directly observable on the mobs that can wear them but most NBT data (the discontinued aspect) is unobservable except for enchantments which apply a glint on the jac o'lantern. However, the player can kill these mobs which will drop the jack o'lantern which makes this feature also destructivly observable, or observable at the cost of destroying the discontinued feature. Jack o'lanterns have a guaranteed chance to drop as equipping one will increase the drop chance of the inventory slot from 0.085f
(8.5%) to 2.0f
(200%).
See Also
References
- Java Edition:Entities
- Java Edition:Entity Data
- Java Edition:Entity Inventory
- Java Edition:Hostile Mobs
- Java Edition:Neutral Mobs
- Java Edition:Passive Mobs
- Java Edition:Players
- Java Edition:End
- Java Edition:Nether
- Java Edition:Overworld
- Java Edition:Multiplayer
- Java Edition:Singleplayer
- Java Edition:Release
- Java Edition:Unintentional
- Java Edition:Movable
- Java Edition:Directly Observable
- Java Edition:Permanent
- Java Edition:Current