Package com.loohp.limbo.world
Class Environment
java.lang.Object
com.loohp.limbo.world.Environment
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Environmentstatic final Environmentstatic final Environmentstatic final Set<Environment> -
Method Summary
Modifier and TypeMethodDescriptionstatic EnvironmentcreateCustom(net.kyori.adventure.key.Key key, boolean hasSkyLight, int id) static EnvironmentcreateCustom(net.kyori.adventure.key.Key key, int id) Deprecated.booleanstatic EnvironmentfromKey(net.kyori.adventure.key.Key key) static EnvironmentgetCustom(net.kyori.adventure.key.Key key) intgetId()net.kyori.adventure.key.KeygetKey()inthashCode()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()
-