Package net.minestom.server.world
Class DimensionType
java.lang.Object
net.minestom.server.world.DimensionType
https://minecraft.wiki/w/Custom_dimension
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder
(NamespaceID name) boolean
static DimensionType
fromNBT
(org.jglrxavpok.hephaistos.nbt.NBTCompound nbt) float
double
@Nullable Long
int
int
getId()
int
int
getMaxY()
int
getMinY()
getName()
int
int
hashCode()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
@NotNull org.jglrxavpok.hephaistos.nbt.NBTCompound
@NotNull org.jglrxavpok.hephaistos.nbt.NBTCompound
toNBT()
toString()
-
Field Details
-
OVERWORLD
-
registered
protected volatile boolean registered
-
-
Method Details
-
builder
-
fromNBT
-
toIndexedNBT
@NotNull public @NotNull org.jglrxavpok.hephaistos.nbt.NBTCompound toIndexedNBT() -
toNBT
@NotNull public @NotNull org.jglrxavpok.hephaistos.nbt.NBTCompound toNBT() -
toString
-
getId
public int getId() -
isRegistered
public boolean isRegistered() -
getName
-
isNatural
public boolean isNatural() -
getAmbientLight
public float getAmbientLight() -
isCeilingEnabled
public boolean isCeilingEnabled() -
isSkylightEnabled
public boolean isSkylightEnabled() -
getFixedTime
-
isRaidCapable
public boolean isRaidCapable() -
isRespawnAnchorSafe
public boolean isRespawnAnchorSafe() -
isUltrawarm
public boolean isUltrawarm() -
isBedSafe
public boolean isBedSafe() -
getEffects
-
isPiglinSafe
public boolean isPiglinSafe() -
getMinY
public int getMinY() -
getHeight
public int getHeight() -
getMaxY
public int getMaxY() -
getLogicalHeight
public int getLogicalHeight() -
getCoordinateScale
public double getCoordinateScale() -
getInfiniburn
-
getTotalHeight
public int getTotalHeight() -
equals
-
hashCode
public int hashCode()
-