Interface DimensionType


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

  • Method Details

    • create

      @NotNull static @NotNull DimensionType create(boolean ultrawarm, boolean natural, double coordinateScale, boolean hasSkylight, boolean hasCeiling, float ambientLight, @Nullable @Nullable Long fixedTime, boolean piglinSafe, boolean bedWorks, boolean respawnAnchorWorks, boolean hasRaids, int logicalHeight, int minY, int height, @NotNull @NotNull String infiniburn, @NotNull @NotNull net.kyori.adventure.key.Key effects, int monsterSpawnBlockLightLimit, int monsterSpawnLightLevel)
    • 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 net.kyori.adventure.key.Key effects()
    • monsterSpawnBlockLightLimit

      int monsterSpawnBlockLightLimit()
    • monsterSpawnLightLevel

      int monsterSpawnLightLevel()
    • totalHeight

      default int totalHeight()