net.minecraft.advancements.critereon

public record DistanceTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

bh$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<ContextAwarePredicate>
b
player
comp_2029
player
f_302814_
private final Optional<LocationPredicate>
c
startPosition
comp_2044
startPosition
f_186181_
private final Optional<DistancePredicate>
d
distance
comp_2045
distance
f_186182_
public static final com.mojang.serialization.Codec<DistanceTrigger$TriggerInstance>
a
CODEC
field_47239
CODEC
f_303226_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static Criterion<DistanceTrigger$TriggerInstance>
a(bp$a arg0, bg arg1, ci$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 startPos)
m_186197_(C_1147_$C_1149_ p_186198_, C_750_ p_186199_, C_1761_$C_1762_ p_300400_)
public static Criterion<DistanceTrigger$TriggerInstance>
a(bp$a arg0, bg 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(bg arg0)
travelledThroughNether(DistancePredicate arg0)
method_9085(class_2025 arg0)
netherTravel(DistancePredicate distance)
m_186192_(C_750_ p_186193_)
public boolean
a(and arg0, elt arg1, elt 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)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
m_295156_()
public Optional<LocationPredicate>
b()
startPosition()
comp_2044()
startPosition()
f_186181_()
public Optional<DistancePredicate>
c()
distance()
comp_2045()
distance()
f_186182_()