net.minecraft.advancements.critereon

public record DistanceTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

bo$a
net.minecraft.advancements.critereon.DistanceTrigger$TriggerInstance
net.minecraft.class_2108$class_2110
net.minecraft.advancement.criterion.TravelCriterion$Conditions
net.minecraft.advancements.critereon.DistanceTrigger$a

Field summary

Modifier and TypeField
private final Optional<ContextAwarePredicate>
b
player
comp_2029
player
private final Optional<LocationPredicate>
c
startPosition
comp_2044
startPosition
private final Optional<DistancePredicate>
d
distance
comp_2045
distance
public static final com.mojang.serialization.Codec<DistanceTrigger$TriggerInstance>
a
CODEC
field_47239
CODEC

Constructor summary

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

Method summary

Modifier and TypeMethod
public static Criterion<DistanceTrigger$TriggerInstance>
a(bw$a arg0, bn arg1, dh$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)
public static Criterion<DistanceTrigger$TriggerInstance>
a(bw$a arg0, bn arg1)
rideEntityInLava(EntityPredicate$Builder arg0, DistancePredicate arg1)
method_38850(class_2048$class_2049 arg0, class_2025 arg1)
rideEntityInLava(EntityPredicate$Builder entity, DistancePredicate distance)
public static Criterion<DistanceTrigger$TriggerInstance>
a(bn arg0)
travelledThroughNether(DistancePredicate arg0)
method_9085(class_2025 arg0)
netherTravel(DistancePredicate distance)
public boolean
a(ash arg0, fby arg1, fby 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)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
public Optional<LocationPredicate>
b()
startPosition()
comp_2044()
startPosition()
public Optional<DistancePredicate>
c()
distance()
comp_2045()
distance()