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.Modifier and TypeMethodDescriptionprivate static Optional<LocationPredicate>
LocationPredicate.create
(Optional<LocationPredicate.PositionRange> position, Optional<RegistryKey<Biome>> biome, Optional<RegistryKey<Structure>> structure, Optional<RegistryKey<World>> dimension, Optional<Boolean> smokey, Optional<LightPredicate> light, Optional<BlockPredicate> block, Optional<FluidPredicate> fluid) ModifierConstructorDescriptionLocationPredicate
(Optional<LocationPredicate.PositionRange> optional, Optional<RegistryKey<Biome>> optional2, Optional<RegistryKey<Structure>> optional3, Optional<RegistryKey<World>> optional4, Optional<Boolean> optional5, Optional<LightPredicate> optional6, Optional<BlockPredicate> optional7, Optional<FluidPredicate> optional8)