public static class ChangeDimensionTrigger.Instance extends CriterionInstance
Modifier and Type | Field and Description |
---|---|
private DimensionType |
from |
private DimensionType |
to |
Constructor and Description |
---|
Instance(DimensionType from,
DimensionType to) |
Modifier and Type | Method and Description |
---|---|
static ChangeDimensionTrigger.Instance |
changedDimensionTo(DimensionType p_203911_0_) |
com.google.gson.JsonElement |
serialize() |
boolean |
test(DimensionType from,
DimensionType to) |
getId, toString
@Nullable private final DimensionType from
@Nullable private final DimensionType to
public Instance(@Nullable DimensionType from, @Nullable DimensionType to)
public static ChangeDimensionTrigger.Instance changedDimensionTo(DimensionType p_203911_0_)
public boolean test(DimensionType from, DimensionType to)
public com.google.gson.JsonElement serialize()