Ominous Item Spawner

Jump to navigation Jump to search
Not to be confused with Ominous Trial Spawner.
This article is a work in progress.
 
Please help expand and improve it. The talk page may contain suggestions.
Ominous Item Spawner
Ominous_Item_Spawner.png: Infobox image for Ominous Item Spawner the entity in Minecraft
Health points

None

Hitbox size

Height: 0.25 blocks
Width: 0.25 blocks

Ominous item spawners are entities spawned by ominous trial spawners that display an item for 3 to 6 seconds before dispensing it downwards.

Spawning[edit | edit source]

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 third-person view. The item spawns in the center of the block below it, unless the block has a collision box.

Behavior[edit | edit source]

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[edit | edit source]

Java Edition:

[hide]Sounds
SoundSubtitlesSourceDescriptionResource locationTranslation keyVolumePitchAttenuation
distance
​Ominous item preparesFriendly CreaturesWhen a trial spawner is about to spawn an ominous item spawnerblock.trial_spawner.about_to_spawn_itemsubtitles.block.trial_spawner.about_to_spawn_item1.01.016
​Ominous item dropsBlocksWhen an ominous item spawner summons an itemblock.trial_spawner.spawn_itemsubtitles.block.trial_spawner.spawn_item1.00.8-1.216
​Ominous item appearsBlocksWhen an ominous item spawner is summonedblock.trial_spawner.spawn_item_beginsubtitles.block.trial_spawner.spawn_item_begin1.00.8-1.216

Bedrock Edition:

[hide]Sounds
SoundSourceDescriptionResource locationVolumePitch
BlocksWhen a trial spawner is about to spawn an ominous item spawnerominous_item_spawner.about_to_spawn_item1.00.8-1.1
BlocksWhen an ominous item spawner summons an itemominous_item_spawner.spawn_item1.00.8-1.1
BlocksWhen an ominous item spawner is summonedominous_item_spawner.spawn_item_begin1.00.8-1.1

Data values[edit | edit source]

ID[edit | edit source]

Java Edition:

NameIdentifier[hide]Translation key
EntitySprite ominous-item-spawner.png: Sprite image for ominous-item-spawner in Minecraft Ominous Item Spawnerominous_item_spawnerentity.minecraft.ominous_item_spawner

Bedrock Edition:

NameIdentifierNumeric ID [hide]Translation key
EntitySprite ominous-item-spawner.png: Sprite image for ominous-item-spawner in Minecraft Ominous Item Spawnerominous_item_spawner145

Entity data[edit | edit source]

Ominous item spawners have entity data associated with them that contain various properties.

Java Edition:

Main article: Entity format

History[edit | edit source]

[hide]Java Edition
1.20.5
Experiment
Update 1.21
24w13aAdded ominous item spawners.
1.2124w18aOminous item spawners are now available without using the "Update 1.21" experimental data pack.
24w21aspawn_item_after_ticks is now read from nbt.[1]
[hide]Bedrock Edition
1.21.0
Experiment
Update 1.21
Preview 1.21.0.21Added ominous item spawners.
1.21.0Preview 1.21.0.22Ominous item spawners are now available without using the "Update 1.21" experimental toggle.

Issues[edit | edit source]

Issues relating to "Ominous Item Spawner" are maintained on the bug tracker. Issues should be reported and viewed there.

References[edit | edit source]

  1. MC-269964 — Ominous item spawners are missing an NBT load for spawn_item_after_ticks — resolved as "Fixed".

Navigation[edit | edit source]