public class BlockStateHelper extends java.lang.Object implements com.google.common.base.Predicate<IBlockState>
Modifier and Type | Field and Description |
---|---|
private BlockState |
blockstate |
private java.util.Map<IProperty,com.google.common.base.Predicate> |
propertyPredicates |
Modifier | Constructor and Description |
---|---|
private |
BlockStateHelper(BlockState blockStateIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(IBlockState p_apply_1_) |
static BlockStateHelper |
forBlock(Block blockIn) |
<V extends java.lang.Comparable<V>> |
where(IProperty<V> property,
com.google.common.base.Predicate<? extends V> is) |
private final BlockState blockstate
private final java.util.Map<IProperty,com.google.common.base.Predicate> propertyPredicates
private BlockStateHelper(BlockState blockStateIn)
public static BlockStateHelper forBlock(Block blockIn)
public boolean apply(IBlockState p_apply_1_)
apply
in interface com.google.common.base.Predicate<IBlockState>
public <V extends java.lang.Comparable<V>> BlockStateHelper where(IProperty<V> property, com.google.common.base.Predicate<? extends V> is)