public static class BlockPredicate.Builder extends Object
Modifier and Type | Field and Description |
---|---|
private Block |
block |
private NbtPredicate |
nbt |
private StatePredicate |
state |
private Tag<Block> |
tag |
Modifier | Constructor and Description |
---|---|
private |
Builder() |
Modifier and Type | Method and Description |
---|---|
BlockPredicate.Builder |
block(Block block) |
BlockPredicate |
build() |
static BlockPredicate.Builder |
create() |
BlockPredicate.Builder |
method_29233(Tag<Block> tag) |
BlockPredicate.Builder |
state(StatePredicate state) |
private StatePredicate state
private NbtPredicate nbt
public static BlockPredicate.Builder create()
public BlockPredicate.Builder block(Block block)
public BlockPredicate.Builder method_29233(Tag<Block> tag)
public BlockPredicate.Builder state(StatePredicate state)
public BlockPredicate build()