public class Selector
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Selector.Deserializer |
Modifier and Type | Field and Description |
---|---|
private ICondition |
condition |
private VariantList |
variantList |
Constructor and Description |
---|
Selector(ICondition conditionIn,
VariantList variantListIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object p_equals_1_) |
java.util.function.Predicate<BlockState> |
getPredicate(StateContainer<Block,BlockState> state) |
VariantList |
getVariantList() |
int |
hashCode() |
private final ICondition condition
private final VariantList variantList
public Selector(ICondition conditionIn, VariantList variantListIn)
public VariantList getVariantList()
public java.util.function.Predicate<BlockState> getPredicate(StateContainer<Block,BlockState> state)
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object