Class LocationPredicate.Builder
java.lang.Object
net.minecraft.advancements.critereon.LocationPredicate.Builder
- Enclosing class:
LocationPredicate
-
Field Summary
Modifier and TypeFieldDescriptionprivate Optional
<BlockPredicate> private Optional
<ResourceKey<Level>> private Optional
<FluidPredicate> private Optional
<LightPredicate> private MinMaxBounds.Doubles
private MinMaxBounds.Doubles
private MinMaxBounds.Doubles
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic LocationPredicate.Builder
atYLocation
(MinMaxBounds.Doubles p_298783_) build()
static LocationPredicate.Builder
static LocationPredicate.Builder
inDimension
(ResourceKey<Level> p_298871_) static LocationPredicate.Builder
inStructure
(Holder<Structure> p_330610_) static LocationPredicate.Builder
location()
setBlock
(BlockPredicate.Builder p_298335_) setCanSeeSky
(boolean p_345443_) setDimension
(ResourceKey<Level> p_153977_) setFluid
(FluidPredicate.Builder p_299307_) setLight
(LightPredicate.Builder p_298888_) setSmokey
(boolean p_299155_) setStructures
(HolderSet<Structure> p_332189_) setX
(MinMaxBounds.Doubles p_153971_) setY
(MinMaxBounds.Doubles p_153975_) setZ
(MinMaxBounds.Doubles p_153979_)
-
Field Details
-
x
-
y
-
z
-
biomes
-
structures
-
dimension
-
smokey
-
light
-
block
-
fluid
-
canSeeSky
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
location
-
inBiome
-
inDimension
-
inStructure
-
atYLocation
-
setX
-
setY
-
setZ
-
setBiomes
-
setStructures
-
setDimension
-
setLight
-
setBlock
-
setFluid
-
setSmokey
-
setCanSeeSky
-
build
-