- Use this command:
You'll get an empty spawn egg.
If you change "id:creeper" to "id:minecraft:creeper", you get a creeper spawn egg (as expected)
- Use any of these commands:
Both commands give you a default Pig spawner.
If you change "id:creeper" to "id:minecraft:creeper", SpawnData and SpawnPotentials are set as expected.
Why would the namespace be required for spawn eggs and spawners? It's inconsistent compared to any other part of the game.
Summon, setblock, selectors, etc. don't require the namespace.
- Spawn eggs
- mob spawners