Package net.minecraft.loot.conditions
Class SurvivesExplosion
- java.lang.Object
-
- net.minecraft.loot.conditions.SurvivesExplosion
-
- All Implemented Interfaces:
java.util.function.Predicate<LootContext>,ILootCondition,IParameterized
public class SurvivesExplosion extends java.lang.Object implements ILootCondition
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSurvivesExplosion.Serializer-
Nested classes/interfaces inherited from interface net.minecraft.loot.conditions.ILootCondition
ILootCondition.IBuilder
-
-
Field Summary
Fields Modifier and Type Field Description private static SurvivesExplosionINSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description privateSurvivesExplosion()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<LootParameter<?>>getReferencedContextParams()LootConditionTypegetType()static ILootCondition.IBuildersurvivesExplosion()booleantest(LootContext p_test_1_)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraft.loot.IParameterized
validate
-
-
-
-
Field Detail
-
INSTANCE
private static final SurvivesExplosion INSTANCE
-
-
Method Detail
-
getType
public LootConditionType getType()
- Specified by:
getTypein interfaceILootCondition
-
getReferencedContextParams
public java.util.Set<LootParameter<?>> getReferencedContextParams()
- Specified by:
getReferencedContextParamsin interfaceIParameterized
-
test
public boolean test(LootContext p_test_1_)
- Specified by:
testin interfacejava.util.function.Predicate<LootContext>
-
survivesExplosion
public static ILootCondition.IBuilder survivesExplosion()
-
-