public class LocationCheck extends java.lang.Object implements ILootCondition
Modifier and Type | Class and Description |
---|---|
static class |
LocationCheck.Serializer |
ILootCondition.AbstractSerializer<T extends ILootCondition>, ILootCondition.IBuilder
Modifier and Type | Field and Description |
---|---|
private BlockPos |
field_227564_b_ |
private LocationPredicate |
predicate |
Constructor and Description |
---|
LocationCheck(LocationPredicate p_i225895_1_,
BlockPos p_i225895_2_) |
Modifier and Type | Method and Description |
---|---|
static ILootCondition.IBuilder |
builder(LocationPredicate.Builder p_215975_0_) |
boolean |
test(LootContext p_test_1_) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
func_225580_a_, getRequiredParameters
private final LocationPredicate predicate
private final BlockPos field_227564_b_
public LocationCheck(LocationPredicate p_i225895_1_, BlockPos p_i225895_2_)
public boolean test(LootContext p_test_1_)
test
in interface java.util.function.Predicate<LootContext>
public static ILootCondition.IBuilder builder(LocationPredicate.Builder p_215975_0_)