Mojira Archive
MC-269200

Components for mob spawners and trial spawners use different syntax

Trial spawners use snake case in their block entity tags, while mob spawners use pascal case.

Example: /give @s minecraft:trial_spawner[block_entity_data= {id: trial_spawner, spawn_data:{entity:

{id: camel}

}}]

Versus: /give @s minecraft:spawner[minecraft:block_entity_data={id: mob_spawner, SpawnData:{entity:

{id: camel}

}}]

Pascal case also applies for the other spawner tags, like RequiredPlayerRange, MaxNearbyEntities, etc.

Invalid

Alexander Gignac

2024-03-08, 03:50 PM

2024-03-13, 08:18 AM

2024-03-13, 08:18 AM

0

2

Confirmed

(Unassigned)

syntax

24w10a

-