Class BlockPredicateArgument.BlockPredicate
java.lang.Object
net.minecraft.commands.arguments.blocks.BlockPredicateArgument.BlockPredicate
- All Implemented Interfaces:
Predicate<BlockInWorld>
- Enclosing class:
- BlockPredicateArgument
static class BlockPredicateArgument.BlockPredicate
extends Object
implements Predicate<BlockInWorld>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBlockPredicate
(BlockState p_115595_, Set<Property<?>> p_115596_, CompoundTag p_115597_) -
Method Summary
-
Field Details
-
state
-
properties
-
nbt
-
-
Constructor Details
-
BlockPredicate
public BlockPredicate(BlockState p_115595_, Set<Property<?>> p_115596_, @Nullable CompoundTag p_115597_)
-
-
Method Details
-
test
- Specified by:
test
in interfacePredicate<BlockInWorld>
-
requiresNbt
public boolean requiresNbt()
-