Interface DimensionType

All Superinterfaces:
ProtocolObject

public sealed interface DimensionType extends ProtocolObject
https://minecraft.wiki/w/Custom_dimension
  • Field Details

  • Method Details

    • builder

      @NotNull static @NotNull DimensionType.Builder builder()
    • createDefaultRegistry

      @Internal @NotNull static @NotNull DynamicRegistry<DimensionType> createDefaultRegistry()

      Creates a new registry for dimension types, loading the vanilla dimension types.

      See Also:
    • ultrawarm

      boolean ultrawarm()
    • natural

      boolean natural()
    • coordinateScale

      double coordinateScale()
    • hasSkylight

      boolean hasSkylight()
    • hasCeiling

      boolean hasCeiling()
    • ambientLight

      float ambientLight()
    • fixedTime

      @Nullable @Nullable Long fixedTime()
    • piglinSafe

      boolean piglinSafe()
    • bedWorks

      boolean bedWorks()
    • respawnAnchorWorks

      boolean respawnAnchorWorks()
    • hasRaids

      boolean hasRaids()
    • logicalHeight

      int logicalHeight()
    • minY

      int minY()
    • maxY

      default int maxY()
    • height

      int height()
    • infiniburn

      @NotNull @NotNull String infiniburn()
    • effects

      @NotNull @NotNull String effects()
    • totalHeight

      default int totalHeight()