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_298036_) setProperties
(StatePropertiesPredicate.Builder p_299418_)
-
Field Details
-
blocks
-
properties
-
nbt
-
-
Constructor Details
-
Builder
private Builder()
-
-
Method Details
-
block
-
of
-
of
-
of
-
hasNbt
-
setProperties
-
build
-