public class BlockStateMatcherOr extends java.lang.Object implements IBlockStateMatcher
Constructor and Description |
---|
BlockStateMatcherOr(IBlockStateMatcher[] elements) |
BlockStateMatcherOr(IBlockStateMatcher a,
IBlockStateMatcher b) |
Modifier and Type | Method and Description |
---|---|
IBlockStateMatcher |
allowValuesForProperty(java.lang.String name,
java.lang.String... values) |
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getMatchedProperties() |
java.util.List<java.lang.String> |
getMatchedValuesForProperty(java.lang.String name) |
java.util.Collection<IBlockState> |
getMatchingBlockStates() |
boolean |
isCompound() |
boolean |
matches(IBlockState blockState) |
IBlockStateMatcher |
or(IBlockStateMatcher matcher) |
java.lang.String |
toString() |
IBlockStateMatcher |
withMatchedValuesForProperty(java.lang.String name,
java.lang.String... values) |
public BlockStateMatcherOr(IBlockStateMatcher[] elements)
public BlockStateMatcherOr(IBlockStateMatcher a, IBlockStateMatcher b)
public boolean matches(IBlockState blockState)
matches
in interface IBlockStateMatcher
public IBlockStateMatcher or(IBlockStateMatcher matcher)
or
in interface IBlockStateMatcher
public java.util.Collection<IBlockState> getMatchingBlockStates()
getMatchingBlockStates
in interface IBlockStateMatcher
public IBlockStateMatcher allowValuesForProperty(java.lang.String name, java.lang.String... values)
allowValuesForProperty
in interface IBlockStateMatcher
public IBlockStateMatcher withMatchedValuesForProperty(java.lang.String name, java.lang.String... values)
withMatchedValuesForProperty
in interface IBlockStateMatcher
public java.util.List<java.lang.String> getMatchedValuesForProperty(java.lang.String name)
getMatchedValuesForProperty
in interface IBlockStateMatcher
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getMatchedProperties()
getMatchedProperties
in interface IBlockStateMatcher
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isCompound()
isCompound
in interface IBlockStateMatcher