Class ExplosionCondition

java.lang.Object
net.minecraft.world.level.storage.loot.predicates.ExplosionCondition
All Implemented Interfaces:
Predicate<LootContext>, LootContextUser, LootItemCondition

public class ExplosionCondition extends Object implements LootItemCondition
A LootItemCondition that checks whether an item should survive from an explosion or not. This condition checks the explosion radius loot parameter.