Class Selector
- java.lang.Object
-
- net.minecraft.client.renderer.model.multipart.Selector
-
public class Selector extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Selector.Deserializer
-
Field Summary
Fields Modifier and Type Field Description private ICondition
condition
private VariantList
variant
-
Constructor Summary
Constructors Constructor Description Selector(ICondition p_i46562_1_, VariantList p_i46562_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object p_equals_1_)
java.util.function.Predicate<BlockState>
getPredicate(StateContainer<Block,BlockState> p_188166_1_)
VariantList
getVariant()
int
hashCode()
-
-
-
Field Detail
-
condition
private final ICondition condition
-
variant
private final VariantList variant
-
-
Constructor Detail
-
Selector
public Selector(ICondition p_i46562_1_, VariantList p_i46562_2_)
-
-
Method Detail
-
getVariant
public VariantList getVariant()
-
getPredicate
public java.util.function.Predicate<BlockState> getPredicate(StateContainer<Block,BlockState> p_188166_1_)
-
equals
public boolean equals(java.lang.Object p_equals_1_)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-