Most explosive entities still cannot be properly detected by this
in the entity_properties
condition of block loot tables, contrary to Boq's comment on the matter (see attached)
The following is a list of explosive entities that work/don't work.
Works with:
-TNT
-Creeper
-Minecart with TNT
Does not work with:
-End Crystal
-Wither Skull
-Wither (spawning explosion)
-Fireball (using Ghast does not work either)
This can be reproduced by enabling the attached datapack, then destroying soul sand with each of these entities.
For the entities that work properly with the condition, a diamond sword is dropped. Otherwise, nothing drops.
Linked issues
relates to 1
Attachments
Comments 4
Done. The table's condition tests for an entity type tag, which contains a list of all the explosive entities.
Note: the underlying cause for end crystal probably also causes MC-233181.
Yarn 1.18-rc3: EndCrystalEntity#damage
calls World#createExplosion
with null
as the entity instead of this
(as seen in TNT code.).
Please attach the data pack.