Uses of Record Class
net.minecraft.predicate.entity.LocationPredicate.PositionRange
-
Uses of LocationPredicate.PositionRange in net.minecraft.predicate.entity
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<LocationPredicate.PositionRange> LocationPredicate.PositionRange.CODEC
private final Optional
<LocationPredicate.PositionRange> LocationPredicate.position
The field for theposition
record component.Modifier and TypeMethodDescription(package private) static Optional
<LocationPredicate.PositionRange> LocationPredicate.PositionRange.create
(NumberRange.DoubleRange x, NumberRange.DoubleRange y, NumberRange.DoubleRange z) LocationPredicate.position()
Returns the value of theposition
record component.ModifierConstructorDescriptionLocationPredicate
(Optional<LocationPredicate.PositionRange> optional, Optional<RegistryEntryList<Biome>> optional2, Optional<RegistryEntryList<Structure>> optional3, Optional<RegistryKey<World>> optional4, Optional<Boolean> optional5, Optional<LightPredicate> optional6, Optional<BlockPredicate> optional7, Optional<FluidPredicate> optional8, Optional<Boolean> optional9)