Class PropertyValueCondition
- java.lang.Object
-
- net.minecraft.client.renderer.model.multipart.PropertyValueCondition
-
- All Implemented Interfaces:
ICondition
public class PropertyValueCondition extends java.lang.Object implements ICondition
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
key
private static com.google.common.base.Splitter
PIPE_SPLITTER
private java.lang.String
value
-
Fields inherited from interface net.minecraft.client.renderer.model.multipart.ICondition
FALSE, TRUE
-
-
Constructor Summary
Constructors Constructor Description PropertyValueCondition(java.lang.String p_i46565_1_, java.lang.String p_i46565_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.util.function.Predicate<BlockState>
getBlockStatePredicate(StateContainer<Block,BlockState> p_212485_1_, Property<?> 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()
-
-
-
Method Detail
-
getPredicate
public java.util.function.Predicate<BlockState> getPredicate(StateContainer<Block,BlockState> p_getPredicate_1_)
- Specified by:
getPredicate
in interfaceICondition
-
getBlockStatePredicate
private java.util.function.Predicate<BlockState> getBlockStatePredicate(StateContainer<Block,BlockState> p_212485_1_, Property<?> p_212485_2_, java.lang.String p_212485_3_)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-