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 |
toCommandString() |
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 IBlockStateMatcherpublic IBlockStateMatcher or(IBlockStateMatcher matcher)
or in interface IBlockStateMatcherpublic java.util.Collection<IBlockState> getMatchingBlockStates()
getMatchingBlockStates in interface IBlockStateMatcherpublic IBlockStateMatcher allowValuesForProperty(java.lang.String name, java.lang.String... values)
allowValuesForProperty in interface IBlockStateMatcherpublic IBlockStateMatcher withMatchedValuesForProperty(java.lang.String name, java.lang.String... values)
withMatchedValuesForProperty in interface IBlockStateMatcherpublic java.util.List<java.lang.String> getMatchedValuesForProperty(java.lang.String name)
getMatchedValuesForProperty in interface IBlockStateMatcherpublic java.util.Map<java.lang.String,java.util.List<java.lang.String>> getMatchedProperties()
getMatchedProperties in interface IBlockStateMatcherpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean isCompound()
isCompound in interface IBlockStateMatcherpublic java.lang.String toCommandString()
toCommandString in interface IBlockStateMatcher