Uses of Record Class
net.minecraft.predicate.entity.MovementPredicate
-
Uses of MovementPredicate in net.minecraft.predicate.entity
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<MovementPredicate> MovementPredicate.CODEC
private Optional
<MovementPredicate> EntityPredicate.Builder.movement
private final Optional
<MovementPredicate> EntityPredicate.movement
The field for themovement
record component.Modifier and TypeMethodDescriptionstatic MovementPredicate
MovementPredicate.fallDistance
(NumberRange.DoubleRange fallDistance) static MovementPredicate
MovementPredicate.horizontalSpeed
(NumberRange.DoubleRange horizontalSpeed) static MovementPredicate
MovementPredicate.speed
(NumberRange.DoubleRange speed) static MovementPredicate
MovementPredicate.verticalSpeed
(NumberRange.DoubleRange verticalSpeed) Modifier and TypeMethodDescriptionEntityPredicate.movement()
Returns the value of themovement
record component.