static class BlockPredicateArgument.BlockPredicate extends java.lang.Object implements java.util.function.Predicate<CachedBlockInfo>
| Modifier and Type | Field and Description |
|---|---|
private CompoundNBT |
nbt |
private java.util.Set<IProperty<?>> |
properties |
private BlockState |
state |
| Constructor and Description |
|---|
BlockPredicate(BlockState stateIn,
java.util.Set<IProperty<?>> propertiesIn,
CompoundNBT nbtIn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
test(CachedBlockInfo p_test_1_) |
private final BlockState state
private final java.util.Set<IProperty<?>> properties
@Nullable private final CompoundNBT nbt
public BlockPredicate(BlockState stateIn, java.util.Set<IProperty<?>> propertiesIn, @Nullable CompoundNBT nbtIn)
public boolean test(CachedBlockInfo p_test_1_)
test in interface java.util.function.Predicate<CachedBlockInfo>