{
  "$comment": "https://minecraft.fandom.com/wiki/Custom_dimension#Dimension_type",
  "$id": "https://json.schemastore.org/minecraft-dimension-type.json",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "Configuration file defining a dimension type for a data pack for Minecraft.",
  "properties": {
    "name": {
      "title": "Name",
      "description": "The resource location used for the dimension type.",
      "type": "string"
    },
    "ultrawarm": {
      "title": "Ultrawarm",
      "description": "Whether the dimensions behaves like the nether (water evaporates and sponges dry) or not. Also lets stalactites drip lava and causes lava to spread faster and thinner.",
      "type": "boolean"
    },
    "natural": {
      "title": "Natural",
      "description": "When true, nether portals can spawn zombified piglins. When false, compasses spin randomly, and using a bed to set the respawn point or sleep, is disabled.",
      "type": "boolean"
    },
    "coordinate_scale": {
      "title": "Coordinate Scale",
      "description": "The multiplier applied to coordinates when traveling to the dimension.",
      "type": "number"
    },
    "has_skylight": {
      "title": "Has Skylight",
      "description": "Whether the dimension has skylight access or not.",
      "type": "boolean"
    },
    "has_ceiling": {
      "title": "Has Ceiling",
      "description": "Whether the dimension has a bedrock ceiling or not.",
      "type": "boolean"
    },
    "ambient_light": {
      "title": "Ambient Light",
      "description": "How much light the dimension has.",
      "type": "number",
      "default": 0.5
    },
    "fixed_time": {
      "title": "Fixed Time",
      "description": "If this is set to a number, the time of the day is the specified value.",
      "anyOf": [
        {
          "type": "boolean",
          "default": false
        },
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 24000
        }
      ]
    },
    "piglin_safe": {
      "title": "Piglin Safe",
      "description": "Whether piglins shake and transform to zombified piglins.",
      "type": "boolean"
    },
    "bed_works": {
      "title": "Bed Words",
      "description": "When false, the bed blows up when trying to sleep.",
      "type": "boolean"
    },
    "respawn_anchor_works": {
      "title": "Respawn Anchor Works",
      "description": "Whether players can charge and use respawn anchors.",
      "type": "boolean"
    },
    "has_raids": {
      "title": "Has Raids",
      "description": "Whether players with the Bad Omen effect can cause a raid.",
      "type": "boolean"
    },
    "logical_height": {
      "title": "Logical Height",
      "description": "The maximum height to which chorus fruits and nether portals can bring players within this dimension. This excludes portals that were already built above the limit as they still connect normally.",
      "type": "integer"
    },
    "min_y": {
      "title": "Minimum Y",
      "description": "The minimum height in which blocks can exist within this dimension.",
      "type": "integer",
      "minimum": -2032,
      "maximum": 2031,
      "multipleOf": 16
    },
    "height": {
      "title": "Height",
      "description": "The total height in which blocks can exist within this dimension.",
      "type": "integer",
      "minimum": 0,
      "maximum": 4096,
      "multipleOf": 16
    },
    "infiniburn": {
      "title": "Infiniburn",
      "description": "A resource location defining what block tag to use for infiniburn.",
      "type": "string"
    },
    "effects": {
      "title": "Effects",
      "description": "Determines the dimension effect used for this dimension.",
      "type": "string",
      "enum": [
        "minecraft:overworld",
        "minecraft:the_nether",
        "minecraft:the_end"
      ],
      "default": "minecraft:overworld"
    }
  },
  "title": "Minecraft Data Pack Dimension Type",
  "type": "object"
}