Mojira Archive
MC-276961

Boat spawners count boats of the wrong wood type against MaxNearbyEntities

Create a boat spawner with 

/give @s spawner[block_entity_data={SpawnData:{entity:{id:"oak_boat"}},id:"mob_spawner",MaxNearbyEntities:1s}] 

and observe it spawn an oak boat. Then place down a spruce boat, destroy the oak boat, and see that it won't spawn another one because the MaxNearbyEntities count has been reached. This was previously an issue due to inheritance (see MC-259321), and was fixed by just comparing the entities class. This isn't sufficient anymore as now different entity types can have the exact same implementing class (all the boats except bamboo).

 

Unresolved

Jake Potrebic

2024-09-25, 07:09 PM

2024-10-05, 08:08 AM

1

0

Community Consensus

Low

Platform

Commands, Entities

24w39a

-