Package | Description |
---|---|
net.minecraft.advancements.criterion |
Modifier and Type | Field and Description |
---|---|
static DistancePredicate |
DistancePredicate.ANY |
private DistancePredicate |
NetherTravelTrigger.Instance.distance |
private DistancePredicate |
LevitationTrigger.Instance.distance |
private DistancePredicate |
EntityPredicate.distance |
private DistancePredicate |
EntityPredicate.Builder.distance |
Modifier and Type | Method and Description |
---|---|
static DistancePredicate |
DistancePredicate.deserialize(com.google.gson.JsonElement element) |
static DistancePredicate |
DistancePredicate.forHorizontal(MinMaxBounds.FloatBound p_203995_0_) |
static DistancePredicate |
DistancePredicate.forVertical(MinMaxBounds.FloatBound p_203993_0_) |
Modifier and Type | Method and Description |
---|---|
EntityPredicate.Builder |
EntityPredicate.Builder.distance(DistancePredicate distanceIn) |
static NetherTravelTrigger.Instance |
NetherTravelTrigger.Instance.forDistance(DistancePredicate p_203933_0_) |
static LevitationTrigger.Instance |
LevitationTrigger.Instance.forDistance(DistancePredicate p_203930_0_) |
Constructor and Description |
---|
EntityPredicate(EntityTypePredicate p_i225735_1_,
DistancePredicate p_i225735_2_,
LocationPredicate p_i225735_3_,
MobEffectsPredicate p_i225735_4_,
NBTPredicate p_i225735_5_,
EntityFlagsPredicate p_i225735_6_,
EntityEquipmentPredicate p_i225735_7_,
PlayerPredicate p_i225735_8_,
java.lang.String p_i225735_9_,
ResourceLocation p_i225735_10_) |
Instance(DistancePredicate p_i49729_1_,
MinMaxBounds.IntBound p_i49729_2_) |
Instance(LocationPredicate enteredIn,
LocationPredicate exitedIn,
DistancePredicate distanceIn) |