All Superinterfaces:
CopyableEntity<DimensionType>, DeepComparableEntity, MappedEntity
All Known Implementing Classes:
StaticDimensionType

public interface DimensionType extends MappedEntity, CopyableEntity<DimensionType>, DeepComparableEntity
  • Method Details

    • getFixedTime

      OptionalLong getFixedTime()
    • hasSkyLight

      boolean hasSkyLight()
    • hasCeiling

      boolean hasCeiling()
    • isUltraWarm

      boolean isUltraWarm()
    • isNatural

      boolean isNatural()
    • getCoordinateScale

      double getCoordinateScale()
    • isShrunk

      default boolean isShrunk()
    • isBedWorking

      boolean isBedWorking()
    • isRespawnAnchorWorking

      boolean isRespawnAnchorWorking()
    • getMinY

      default int getMinY()
    • getMinY

      int getMinY(ClientVersion version)
    • getHeight

      default int getHeight()
    • getHeight

      int getHeight(ClientVersion version)
    • getLogicalHeight

      default int getLogicalHeight()
    • getLogicalHeight

      int getLogicalHeight(ClientVersion version)
    • getInfiniburnTag

      String getInfiniburnTag()
    • getEffectsLocation

      ResourceLocation getEffectsLocation()
    • getAmbientLight

      float getAmbientLight()
    • isPiglinSafe

      boolean isPiglinSafe()
    • hasRaids

      boolean hasRaids()
    • getMonsterSpawnLightLevel

      NBT getMonsterSpawnLightLevel()
    • getMonsterSpawnBlockLightLimit

      int getMonsterSpawnBlockLightLimit()
    • asRef

      default DimensionTypeRef asRef(ClientVersion version)
    • decode

      static DimensionType decode(NBT nbt, ClientVersion version, @Nullable @Nullable TypesBuilderData data)
    • encode

      static NBT encode(DimensionType dimensionType, ClientVersion version)