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_300563_, MinMaxBounds.Doubles p_301250_, MinMaxBounds.Doubles p_299764_) LocationPredicate.position()
Returns the value of theposition
record component.Modifier and TypeMethodDescriptionprivate static Optional<LocationPredicate>
LocationPredicate.of
(Optional<LocationPredicate.PositionPredicate> p_298583_, Optional<ResourceKey<Biome>> p_299235_, Optional<ResourceKey<Structure>> p_300788_, Optional<ResourceKey<Level>> p_299843_, Optional<Boolean> p_299039_, Optional<LightPredicate> p_297467_, Optional<BlockPredicate> p_298254_, Optional<FluidPredicate> p_297912_) ModifierConstructorDescriptionLocationPredicate
(Optional<LocationPredicate.PositionPredicate> position, Optional<ResourceKey<Biome>> biome, Optional<ResourceKey<Structure>> structure, Optional<ResourceKey<Level>> dimension, Optional<Boolean> smokey, Optional<LightPredicate> light, Optional<BlockPredicate> block, Optional<FluidPredicate> fluid) Creates an instance of aLocationPredicate
record class.