public class BlockStateMatcher
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static <any> |
ANY |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(IBlockState p_apply_1_) |
static BlockStateMatcher |
forBlock(Block blockIn) |
protected <T extends java.lang.Comparable<T>> |
matches(IBlockState blockState,
IProperty<T> property,
<any> predicate) |
<V extends java.lang.Comparable<V>> |
where(IProperty<V> property,
<any> is) |
public static BlockStateMatcher forBlock(Block blockIn)
public boolean apply(IBlockState p_apply_1_)
protected <T extends java.lang.Comparable<T>> boolean matches(IBlockState blockState, IProperty<T> property, <any> predicate)
public <V extends java.lang.Comparable<V>> BlockStateMatcher where(IProperty<V> property, <any> is)