static class BlockPredicateArgumentType.TagPredicate extends Object implements Predicate<CachedBlockPosition>
Modifier and Type | Field and Description |
---|---|
private CompoundTag |
nbt |
private Map<String,String> |
properties |
private Tag<Block> |
tag |
Modifier | Constructor and Description |
---|---|
private |
TagPredicate(Tag<Block> tag,
Map<String,String> map,
CompoundTag nbt) |
@Nullable private final CompoundTag nbt
public boolean test(CachedBlockPosition cachedBlockPosition)
test
in interface Predicate<CachedBlockPosition>