Class LocationPredicate.Builder
java.lang.Object
net.minecraft.advancements.critereon.LocationPredicate.Builder
- Enclosing class:
- LocationPredicate
-
Field Summary
Modifier and TypeFieldDescriptionprivate ResourceKey<Biome>
private BlockPredicate
private ResourceKey<Level>
private ResourceKey<ConfiguredStructureFeature<?,
?>> private FluidPredicate
private LightPredicate
private Boolean
private MinMaxBounds.Doubles
private MinMaxBounds.Doubles
private MinMaxBounds.Doubles
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static LocationPredicate.Builder
location()
setBiome
(ResourceKey<Biome> p_52657_) setBlock
(BlockPredicate p_52653_) setDimension
(ResourceKey<Level> p_153977_) setFeature
(ResourceKey<ConfiguredStructureFeature<?, ?>> p_207931_) setFluid
(FluidPredicate p_153967_) setLight
(LightPredicate p_153969_) setX
(MinMaxBounds.Doubles p_153971_) setY
(MinMaxBounds.Doubles p_153975_) setZ
(MinMaxBounds.Doubles p_153979_)
-
Field Details
-
x
-
y
-
z
-
biome
-
feature
-
dimension
-
smokey
-
light
-
block
-
fluid
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
location
-
setX
-
setY
-
setZ
-
setBiome
-
setFeature
public LocationPredicate.Builder setFeature(@Nullable ResourceKey<ConfiguredStructureFeature<?, ?>> p_207931_) -
setDimension
-
setLight
-
setBlock
-
setFluid
-
setSmokey
-
build
-