Class ExplosionCondition
java.lang.Object
net.minecraft.world.level.storage.loot.predicates.ExplosionCondition
- All Implemented Interfaces:
- Predicate<LootContext>,- LootContextUser,- LootItemCondition
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraft.world.level.storage.loot.predicates.LootItemConditionLootItemCondition.Builder
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ExplosionCondition>private static final ExplosionCondition
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionSet<LootContextParam<?>>getType()static LootItemCondition.Builderbooleantest(LootContext p_81659_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.storage.loot.LootContextUservalidate
- 
Field Details- 
INSTANCE
- 
CODEC
 
- 
- 
Constructor Details- 
ExplosionConditionprivate ExplosionCondition()
 
- 
- 
Method Details- 
getType- Specified by:
- getTypein interface- LootItemCondition
 
- 
getReferencedContextParams- Specified by:
- getReferencedContextParamsin interface- LootContextUser
 
- 
test- Specified by:
- testin interface- Predicate<LootContext>
 
- 
survivesExplosion
 
-