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.Modifier and TypeMethodDescriptionprivate static Optional<LocationPredicate>
LocationPredicate.of
(Optional<LocationPredicate.PositionPredicate> p_299175_, Optional<ResourceKey<Biome>> p_298741_, Optional<ResourceKey<Structure>> p_298654_, Optional<ResourceKey<Level>> p_298829_, Optional<Boolean> p_299313_, Optional<LightPredicate> p_299195_, Optional<BlockPredicate> p_299295_, Optional<FluidPredicate> p_298350_) 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.