Uses of Record Class
net.minecraft.advancements.critereon.LocationPredicate.PositionPredicate
-
Uses of LocationPredicate.PositionPredicate in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<LocationPredicate.PositionPredicate> LocationPredicate.PositionPredicate.CODEC
private final Optional
<LocationPredicate.PositionPredicate> LocationPredicate.position
The field for theposition
record component.Modifier and TypeMethodDescription(package private) static Optional
<LocationPredicate.PositionPredicate> LocationPredicate.PositionPredicate.of
(MinMaxBounds.Doubles p_298771_, MinMaxBounds.Doubles p_298418_, MinMaxBounds.Doubles p_299133_) LocationPredicate.position()
Returns the value of theposition
record component.ModifierConstructorDescriptionLocationPredicate
(Optional<LocationPredicate.PositionPredicate> position, Optional<HolderSet<Biome>> biomes, Optional<HolderSet<Structure>> structures, Optional<ResourceKey<Level>> dimension, Optional<Boolean> smokey, Optional<LightPredicate> light, Optional<BlockPredicate> block, Optional<FluidPredicate> fluid, Optional<Boolean> canSeeSky) Creates an instance of aLocationPredicate
record class.