Package net.minestom.server.world
Class DimensionType
java.lang.Object
net.minestom.server.world.DimensionType
https://minecraft.wiki/w/Custom_dimension
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuilder(NamespaceID name) booleanstatic DimensionTypefromNBT(org.jglrxavpok.hephaistos.nbt.NBTCompound nbt) floatdouble@Nullable LongintintgetId()intintgetMaxY()intgetMinY()getName()intinthashCode()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanboolean@NotNull org.jglrxavpok.hephaistos.nbt.NBTCompound@NotNull org.jglrxavpok.hephaistos.nbt.NBTCompoundtoNBT()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()
-