net.minecraft.advancements.critereon

public record LevitationTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

de$a
net.minecraft.advancements.critereon.LevitationTrigger$TriggerInstance
net.minecraft.class_2085$class_2087
net.minecraft.advancement.criterion.LevitationCriterion$Conditions
net.minecraft.advancements.critereon.CriterionTriggerLevitation$a

Field summary

Modifier and TypeField
private final Optional<ContextAwarePredicate>
b
player
comp_2029
player
private final Optional<DistancePredicate>
c
distance
comp_2070
distance
private final MinMaxBounds$Ints
d
duration
comp_2071
duration
public static final com.mojang.serialization.Codec<LevitationTrigger$TriggerInstance>
a
CODEC
field_47305
CODEC

Constructor summary

ModifierConstructor
public (Optional<ContextAwarePredicate> playerPredicate, Optional<DistancePredicate> distance, MinMaxBounds$Ints duration)

Method summary

Modifier and TypeMethod
public static Criterion<LevitationTrigger$TriggerInstance>
a(bo arg0)
levitated(DistancePredicate arg0)
method_9013(class_2025 arg0)
create(DistancePredicate distance)
public boolean
a(are arg0, fbb arg1, int arg2)
matches(ServerPlayer arg0, Vec3 arg1, int arg2)
method_9014(class_3222 arg0, class_243 arg1, int arg2)
matches(ServerPlayerEntity player, Vec3d distance, int duration)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
public Optional<DistancePredicate>
b()
distance()
comp_2070()
distance()
public MinMaxBounds$Ints
c()
duration()
comp_2071()
duration()