Class LocationPredicate.Builder
java.lang.Object
net.minecraft.advancements.critereon.LocationPredicate.Builder
- Enclosing class:
- LocationPredicate
-
Field Summary
Modifier and TypeFieldDescriptionprivate Optional<ResourceKey<Biome>>
private Optional<BlockPredicate>
private Optional<ResourceKey<Level>>
private Optional<FluidPredicate>
private Optional<LightPredicate>
private Optional<ResourceKey<Structure>>
private MinMaxBounds.Doubles
private MinMaxBounds.Doubles
private MinMaxBounds.Doubles
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic LocationPredicate.Builder
atYLocation
(MinMaxBounds.Doubles p_297662_) build()
static LocationPredicate.Builder
inBiome
(ResourceKey<Biome> p_300086_) static LocationPredicate.Builder
inDimension
(ResourceKey<Level> p_300753_) static LocationPredicate.Builder
inStructure
(ResourceKey<Structure> p_301072_) static LocationPredicate.Builder
location()
setBiome
(ResourceKey<Biome> p_52657_) setBlock
(BlockPredicate.Builder p_298525_) setDimension
(ResourceKey<Level> p_153977_) setFluid
(FluidPredicate.Builder p_298614_) setLight
(LightPredicate.Builder p_298990_) setSmokey
(boolean p_299005_) setStructure
(ResourceKey<Structure> p_220593_) setX
(MinMaxBounds.Doubles p_153971_) setY
(MinMaxBounds.Doubles p_153975_) setZ
(MinMaxBounds.Doubles p_153979_)
-
Field Details
-
x
-
y
-
z
-
biome
-
structure
-
dimension
-
smokey
-
light
-
block
-
fluid
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
location
-
inBiome
-
inDimension
-
inStructure
-
atYLocation
-
setX
-
setY
-
setZ
-
setBiome
-
setStructure
-
setDimension
-
setLight
-
setBlock
-
setFluid
-
setSmokey
-
build
-