public class Restriction
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Restriction.Type |
| Modifier and Type | Field and Description |
|---|---|
static Restriction |
END |
static Restriction |
NETHER |
static Restriction |
NONE |
static Restriction |
OVERWORLD |
| Constructor and Description |
|---|
Restriction(BiomeRestriction biomeRestriction) |
Restriction(BiomeRestriction biomeRestriction,
DimensionRestriction dimensionRestriction) |
Restriction(DimensionRestriction dimensionRestriction) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getBiomeRestrictions() |
java.lang.String |
getDimensionRestriction() |
int |
hashCode() |
java.lang.String |
toString() |
public static final Restriction OVERWORLD
public static final Restriction NETHER
public static final Restriction END
public static final Restriction NONE
public Restriction(BiomeRestriction biomeRestriction)
public Restriction(DimensionRestriction dimensionRestriction)
public Restriction(BiomeRestriction biomeRestriction, DimensionRestriction dimensionRestriction)
public java.util.List<java.lang.String> getBiomeRestrictions()
public java.lang.String getDimensionRestriction()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object