Package com.loohp.limbo.world
Class Environment
java.lang.Object
com.loohp.limbo.world.Environment
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Environment
static final Environment
static final Environment
static final Set<Environment>
-
Method Summary
Modifier and TypeMethodDescriptionstatic Environment
createCustom
(net.kyori.adventure.key.Key key, boolean hasSkyLight, int id) static Environment
createCustom
(net.kyori.adventure.key.Key key, int id) Deprecated.boolean
static Environment
fromKey
(net.kyori.adventure.key.Key key) static Environment
getCustom
(net.kyori.adventure.key.Key key) int
getId()
net.kyori.adventure.key.Key
getKey()
int
hashCode()
boolean
-
Field Details
-
NORMAL
-
NETHER
-
END
-
REGISTERED_ENVIRONMENTS
-
-
Method Details
-
fromKey
-
createCustom
Deprecated. -
createCustom
public static Environment createCustom(net.kyori.adventure.key.Key key, boolean hasSkyLight, int id) -
getCustom
-
getKey
public net.kyori.adventure.key.Key getKey() -
hasSkyLight
public boolean hasSkyLight() -
hashCode
public int hashCode() -
equals
-
getId
public int getId()
-