net.minecraft.advancements.critereon

public record DistanceTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

bp$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(bx$a arg0, bo arg1, di$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(bx$a arg0, bo 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(bo arg0)
travelledThroughNether(DistancePredicate arg0)
method_9085(class_2025 arg0)
netherTravel(DistancePredicate distance)
public boolean
a(ard arg0, fbb arg1, fbb 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()