Minecraft:Ominous Item Spawner
More actions
Template:Distinguish Template:Infobox entity Ominous item spawners are Minecraft:entities spawned by Minecraft:ominous trial spawners that display an item for 3 to 6 seconds before dispensing it downwards.
Spawning
Template:Main When an ominous trial spawner detects at least one player within its activation range, every 8 seconds it spawns an ominous item spawner above any such player or any mob that was spawned by this ominous trial spawner. The location where it should spawn is determined by first performing a raycast from the feet of the entity to a random height between 2 and 6 blocks above the entity. If it hits a block, this block is used, otherwise the end of the line is used. Which block can be hit is determined by the same algorithm as the Minecraft:third-person view. The item spawns in the center of the block below it, unless the block has a collision box.
Behavior
An ominous item spawner displays an item rotating in the air for a specified amount of time. When spawned by an ominous trial spawner, that time varies between 3 and 6 seconds. After that time, the item is dispensed downwards. If the item is a projectile, it is shot as an entity. Otherwise the item is dropped.
Sounds
Data values
ID
Template:JE: Template:ID table
Template:BE: Template:ID table
Entity data
Ominous item spawners have entity data associated with them that contain various properties.
<section begin="entity data"/>
- Template:Nbt Entity data
- Template:Nbt inherit/entity
- Template:Nbt: The item to display and dispense.
- Template:Nbt: Total time in ticks to display the item, before dispensing it.
<section end="entity data"/>
History
Java Edition
Bedrock Edition
Issues
References
Minecraft:de:Unheilvoller Gegenstands-Spawner Minecraft:es:Generador de objetos ominoso Minecraft:fr:Générateur d'objets funeste Minecraft:ja:不吉なアイテムスポナー Minecraft:pt:Gerador de Item Sombrio Minecraft:ru:Зловещий спаунер предметов Minecraft:zh:不祥之物生成器