Class BlockPredicate.Builder
java.lang.Object
net.minecraft.advancements.critereon.BlockPredicate.Builder
- Enclosing class:
BlockPredicate
-
Field Summary
Modifier and TypeFieldDescriptionprivate Optional
<NbtPredicate> private Optional
<StatePropertiesPredicate> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BlockPredicate.Builder
block()
build()
hasNbt
(CompoundTag p_146725_) of
(Collection<Block> p_298407_) setProperties
(StatePropertiesPredicate.Builder p_298989_)
-
Field Details
-
blocks
-
properties
-
nbt
-
-
Constructor Details
-
Builder
private Builder()
-
-
Method Details
-
block
-
of
-
of
-
of
-
hasNbt
-
setProperties
-
build
-