Package net.minecraft.loot.conditions
Class LocationCheck
java.lang.Object
net.minecraft.loot.conditions.LocationCheck
- All Implemented Interfaces:
Predicate<LootContext>
,ILootCondition
,IParameterized
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.loot.conditions.ILootCondition
ILootCondition.IBuilder
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprivate
LocationCheck
(LocationPredicate p_i225895_1_, BlockPos p_i225895_2_) -
Method Summary
Modifier and TypeMethodDescriptionstatic ILootCondition.IBuilder
checkLocation
(LocationPredicate.Builder p_215975_0_) static ILootCondition.IBuilder
checkLocation
(LocationPredicate.Builder p_241547_0_, BlockPos p_241547_1_) getType()
boolean
test
(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
getReferencedContextParams, validate
-
Field Details
-
predicate
-
offset
-
-
Constructor Details
-
LocationCheck
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceILootCondition
-
test
- Specified by:
test
in interfacePredicate<LootContext>
-
checkLocation
-
checkLocation
public static ILootCondition.IBuilder checkLocation(LocationPredicate.Builder p_241547_0_, BlockPos p_241547_1_)
-