net.minecraft.advancements.critereon

public class DistanceTrigger$TriggerInstance

extends AbstractCriterionTriggerInstance

All mapped superinterfaces:

SimpleCriterionTrigger$SimpleInstance, CriterionTriggerInstance

bi$a
net.minecraft.advancements.critereon.DistanceTrigger$TriggerInstance
net.minecraft.class_2108$class_2110
net.minecraft.advancement.criterion.TravelCriterion$Conditions
net.minecraft.src.C_182845_$C_182846_
net.minecraft.advancements.critereon.DistanceTrigger$a

Field summary

Modifier and TypeField
private final Optional<LocationPredicate>
a
startPosition
field_35040
startPos
f_186181_
private final Optional<DistancePredicate>
b
distance
field_9723
distance
f_186182_

Constructor summary

ModifierConstructor
public (Optional<ContextAwarePredicate> p_300746_, Optional<LocationPredicate> playerPredicate, Optional<DistancePredicate> startPos)

Method summary

Modifier and TypeMethod
public static Criterion<DistanceTrigger$TriggerInstance>
a(bq$a arg0, bh arg1, cj$a arg2)
fallFromHeight(EntityPredicate$Builder arg0, DistancePredicate arg1, LocationPredicate$Builder arg2)
method_38851(class_2048$class_2049 arg0, class_2025 arg1, class_2090$class_2091 arg2)
fallFromHeight(EntityPredicate$Builder entity, DistancePredicate distance, LocationPredicate$Builder arg2)
m_186197_(C_1147_$C_1149_ p_186198_, C_750_ p_186199_, C_1761_$C_1762_ p_300400_)
public static Criterion<DistanceTrigger$TriggerInstance>
a(bq$a arg0, bh arg1)
rideEntityInLava(EntityPredicate$Builder arg0, DistancePredicate arg1)
method_38850(class_2048$class_2049 arg0, class_2025 arg1)
rideEntityInLava(EntityPredicate$Builder entity, DistancePredicate distance)
m_186194_(C_1147_$C_1149_ p_186195_, C_750_ p_186196_)
public static Criterion<DistanceTrigger$TriggerInstance>
a(bh arg0)
travelledThroughNether(DistancePredicate arg0)
method_9085(class_2025 arg0)
netherTravel(DistancePredicate distance)
m_186192_(C_750_ p_186193_)
public com.google.gson.JsonObject
a()
serializeToJson()
method_807()
toJson()
m_7683_()
public boolean
a(akq arg0, ehn arg1, ehn arg2)
matches(ServerLevel arg0, Vec3 arg1, Vec3 arg2)
method_9086(class_3218 arg0, class_243 arg1, class_243 arg2)
matches(ServerWorld world, Vec3d pos, Vec3d endPos)
m_186188_(C_12_ p_186190_, C_3046_ p_186191_, C_3046_ arg2)