public static class PositionTrigger.Instance extends CriterionInstance
Modifier and Type | Field and Description |
---|---|
private LocationPredicate |
location |
Constructor and Description |
---|
Instance(ResourceLocation criterionIn,
LocationPredicate location) |
Modifier and Type | Method and Description |
---|---|
static PositionTrigger.Instance |
forLocation(LocationPredicate p_203932_0_) |
static PositionTrigger.Instance |
func_215120_d() |
com.google.gson.JsonElement |
serialize() |
static PositionTrigger.Instance |
sleptInBed() |
boolean |
test(ServerWorld world,
double x,
double y,
double z) |
getId, toString
private final LocationPredicate location
public Instance(ResourceLocation criterionIn, LocationPredicate location)
public static PositionTrigger.Instance forLocation(LocationPredicate p_203932_0_)
public static PositionTrigger.Instance sleptInBed()
public static PositionTrigger.Instance func_215120_d()
public boolean test(ServerWorld world, double x, double y, double z)
public com.google.gson.JsonElement serialize()