public class StatePropertiesPredicate
extends java.lang.Object
修飾子とタイプ | クラスと説明 |
---|---|
static class |
StatePropertiesPredicate.Builder |
修飾子とタイプ | フィールドと説明 |
---|---|
static StatePropertiesPredicate |
EMPTY |
修飾子とタイプ | メソッドと説明 |
---|---|
static StatePropertiesPredicate |
deserializeProperties(com.google.gson.JsonElement p_227186_0_) |
void |
forEachNotPresent(StateContainer<?,?> p_227183_1_,
java.util.function.Consumer<java.lang.String> p_227183_2_) |
boolean |
matches(BlockState p_227181_1_) |
boolean |
matches(IFluidState p_227185_1_) |
<S extends IStateHolder<S>> |
matchesAll(StateContainer<?,S> p_227182_1_,
S p_227182_2_) |
com.google.gson.JsonElement |
toJsonElement() |
public static final StatePropertiesPredicate EMPTY
public <S extends IStateHolder<S>> boolean matchesAll(StateContainer<?,S> p_227182_1_, S p_227182_2_)
public boolean matches(BlockState p_227181_1_)
public boolean matches(IFluidState p_227185_1_)
public void forEachNotPresent(StateContainer<?,?> p_227183_1_, java.util.function.Consumer<java.lang.String> p_227183_2_)
public static StatePropertiesPredicate deserializeProperties(@Nullable com.google.gson.JsonElement p_227186_0_)
public com.google.gson.JsonElement toJsonElement()