Package net.minecraft.command.argument
Class BlockPredicateArgumentType.StatePredicate
java.lang.Object
net.minecraft.command.argument.BlockPredicateArgumentType.StatePredicate
- All Implemented Interfaces:
Predicate<CachedBlockPosition>
- Enclosing class:
- BlockPredicateArgumentType
static class BlockPredicateArgumentType.StatePredicate extends Object implements Predicate<CachedBlockPosition>
-
Field Summary
Fields Modifier and Type Field Description private CompoundTagnbtprivate Set<Property<?>>propertiesprivate BlockStatestate -
Constructor Summary
Constructors Constructor Description StatePredicate(BlockState state, Set<Property<?>> properties, CompoundTag nbt) -
Method Summary
Modifier and Type Method Description booleantest(CachedBlockPosition cachedBlockPosition)
-
Field Details
-
state
-
properties
-
nbt
-
-
Constructor Details
-
StatePredicate
-
-
Method Details
-
test
- Specified by:
testin interfacePredicate<CachedBlockPosition>
-