public class PropertyValueCondition extends java.lang.Object implements ICondition
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
key |
private static com.google.common.base.Splitter |
SPLITTER |
private java.lang.String |
value |
FALSE, TRUE
Constructor and Description |
---|
PropertyValueCondition(java.lang.String keyIn,
java.lang.String valueIn) |
Modifier and Type | Method and Description |
---|---|
private java.util.function.Predicate<BlockState> |
func_212485_a(StateContainer<Block,BlockState> p_212485_1_,
IProperty<?> p_212485_2_,
java.lang.String p_212485_3_) |
java.util.function.Predicate<BlockState> |
getPredicate(StateContainer<Block,BlockState> p_getPredicate_1_) |
java.lang.String |
toString() |
private static final com.google.common.base.Splitter SPLITTER
private final java.lang.String key
private final java.lang.String value
public PropertyValueCondition(java.lang.String keyIn, java.lang.String valueIn)
public java.util.function.Predicate<BlockState> getPredicate(StateContainer<Block,BlockState> p_getPredicate_1_)
getPredicate
in interface ICondition
private java.util.function.Predicate<BlockState> func_212485_a(StateContainer<Block,BlockState> p_212485_1_, IProperty<?> p_212485_2_, java.lang.String p_212485_3_)
public java.lang.String toString()
toString
in class java.lang.Object