Class DimensionType

java.lang.Object
net.minestom.server.world.DimensionType

public class DimensionType extends Object
https://minecraft.gamepedia.com/Custom_dimension
  • Field Details

    • OVERWORLD

      public static final DimensionType OVERWORLD
    • registered

      protected volatile boolean registered
  • Method Details

    • builder

      public static DimensionType.DimensionTypeBuilder builder(NamespaceID name)
    • hiddenBuilder

      public static DimensionType.DimensionTypeBuilder hiddenBuilder()
    • fromNBT

      public static DimensionType fromNBT(org.jglrxavpok.hephaistos.nbt.NBTCompound nbt)
    • toIndexedNBT

      @NotNull public @NotNull org.jglrxavpok.hephaistos.nbt.NBTCompound toIndexedNBT()
    • toNBT

      @NotNull public @NotNull org.jglrxavpok.hephaistos.nbt.NBTCompound toNBT()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getId

      public int getId()
    • isRegistered

      public boolean isRegistered()
    • getName

      public NamespaceID getName()
    • isNatural

      public boolean isNatural()
    • getAmbientLight

      public float getAmbientLight()
    • isCeilingEnabled

      public boolean isCeilingEnabled()
    • isSkylightEnabled

      public boolean isSkylightEnabled()
    • getFixedTime

      @Nullable public @Nullable Long getFixedTime()
    • isRaidCapable

      public boolean isRaidCapable()
    • isRespawnAnchorSafe

      public boolean isRespawnAnchorSafe()
    • isUltrawarm

      public boolean isUltrawarm()
    • isBedSafe

      public boolean isBedSafe()
    • getEffects

      public String getEffects()
    • isPiglinSafe

      public boolean isPiglinSafe()
    • getMinY

      public int getMinY()
    • getHeight

      public int getHeight()
    • getMaxY

      public int getMaxY()
    • getLogicalHeight

      public int getLogicalHeight()
    • getCoordinateScale

      public int getCoordinateScale()
    • getInfiniburn

      public NamespaceID getInfiniburn()
    • getTotalHeight

      public int getTotalHeight()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object