Bedrock Wiki
  • Discord
  • Contribute
  • bedrock.dev
  • MS Learn
Beginner's Guide
  • Guide
    • 1. Introduction
      guide
    • 2. Add-Ons Explained
    • 3. Software & Preparation
    • 4. Project Setup
    • 5. Create a Custom Item
    • 6. Create a Custom Entity
    • 7. Blockbench: Modeling, Texturing & Animating
    • 8. Adding Loot Tables, Spawn Rules & Crafting Recipes
  • Extra
    • a. Understanding JSON
    • b. Download Example Packs
    • c. Troubleshooting
      help
    • d. Advanced Manifest
    • e. Format Versions
    • f. Project Setup Android
Animation Controllers
  • Intro to Animation Controllers
    guide
  • Entity Commands
  • AFK Detector
  • Death Commands
  • Molang into Scoreboard
  • Respawn Commands
Blocks
  • General
    • Intro to Blocks
      guide
    • Block Components
    • Block Tags
    • Block States
    • Block Traits
    • Block Permutations
    • Block Events
      Scripts
    • Block Event Migration
      help
    • Blocks as Items
    • Multi-Blocks
    • Troubleshooting Blocks
      help
  • Sound & Visuals
    • Intro to Block Visuals
      guide
    • Block Culling
    • Block Models
      guide
    • Block Sounds
    • Block Texture Animation
    • Block Texture Variation
    • Block Tinting
    • N-Way Rotation
      guide
  • Tutorials
    • Applying Effects
      Scripts
    • Avoiding State Limit
    • Block Orientation
    • Fake Blocks
      Scripts
    • Ore Loot Tables
      Scripts
    • Tool-Based Destruction
  • Vanilla Re-Creations
    • Custom Crops
      Scripts
    • Custom Fences
    • Custom Glass
    • Custom Glazed Terracotta
    • Custom Heads
    • Custom Trapdoors
      Scripts
  • Documentation
    • Block Co-Location
    • Block Format History
    • Block Shapes
    • Redstone Components
    • Vanilla Block Models
    • Vanilla Block Sounds
    • Vanilla Block Tags
    • Vanilla Voxel Shapes
Commands
  • General
    • Intro to Command Blocks
    • Understanding Selectors
    • Functions
      guide
    • Block States
    • Coordinate System
    • Giving NBT Items
    • Scoreboard Operations
  • Commands
    • Damage
    • Execute
    • Playanimation
    • Playsound
  • On Event Systems
    • On First World Load
      function
    • On Player First Join
    • On Player Join
    • On Player Leave
    • On Player Death
    • On Player Respawn
  • Scoreboard Systems
    • Entity Counter
    • Scoreboard Timers
    • Comparing And Retrieving Scores
  • Detection Systems
    • Look Detection
    • Item Drop Detection
    • Movement Detections
    • Rain Detection
  • Techniques
    • Execute Logic Gates
      concept
    • Execute at Block Variant
    • Execution Forking
      concept
    • Binary in Commands
      concept
    • MBE - Max's Block Entity
    • FMBE - A New Way to Create Display Entities
    • Dynamic Displays
    • Orbital Camera
  • Useful Creations
    • Sphere Command
    • Compass Display
    • Custom Crafting
    • Multiplayer Position Rearrangement
      function
Concepts
  • contents.json
  • Molang
  • Namespaces
  • Overwriting Assets
  • Shaders
  • Sounds
  • Sounds (Server)
  • Subpacks
  • Texture Atlases
  • textures_list.json
Documentation
  • Advanced Molang
  • Aim Assist
  • File Types
  • Fog IDs
  • Material Configuration Description
  • Molang Queries
  • Pack Folder Structure
  • Shared Constructs
  • Sound Definitions
  • Vanilla Materials
Entities
  • General
    • Intro to Entities BP
      guide
    • Intro to Entities RP
      guide
    • Troubleshooting Entities
      help
    • Entity Events
    • Entity Properties
    • NPC Dialogue
    • Render Controllers
    • Spawn Rules
  • Tutorials
    • Area Effect Clouds
    • Coordinate Space Conversion
    • Creating Boats
    • Detecting Other Entities
    • Disabling Team Damage
    • Dummy Entities
    • Entity Attacks
    • Entity Movement
    • Entity Timers
    • Holding Items
    • Invulnerable Entities
    • Look at Entity
    • Riding Flying Entities
    • Sleeping Entities
    • Solid Entities
    • Spawning Tamed Entities
      Scripts
    • Village Mechanic
  • Documentation
    • Dummy Components
    • Non-Mob Runtime Identifiers
    • Projectiles
    • Runtime Identifiers
    • Vanilla Usage Components
    • Vanilla Usage Spawn Rules
Items
  • General
    • Intro to Items
      guide
    • Item Components
    • Item Tags
    • Item Events
      Scripts
    • Item Event Migration
      help
    • Item Catalog
    • Troubleshooting Items
      help
  • Tutorials
    • Equipment-Based Commands
    • Spawning Items
    • Throwable Items
  • Vanilla Re-Creations
    • Custom Armor
    • Custom Food
      Scripts
    • Custom Pottery Sherds
    • Custom Weapons
  • Documentation
    • Enchantments
    • Attachables
    • Item Format History
    • Numerical Item IDs
    • Vanilla Item Groups
    • Vanilla Item Tags
    • Vanilla Usage Components
JSON UI
  • General
    • Intro to JSON UI
      guide
    • Best Practices
      guide
  • Tutorials
    • Adding HUD Elements
    • Aseprite Animations
    • Buttons and Toggles
    • Dynamic Content Generation
    • Modifying Server Forms
    • Preserve Title Texts
    • Type Conversion
  • Documentation
    • JSON UI Documentation
Loot, Recipes & Trading
  • General
    • Trading Behavior
  • Documentation
    • Loot Tables
    • Trade Tables
    • Recipes
    • Item Functions
  • Tutorials
    • Randomized Structure Loot
Meta
  • Add-On Performance
  • Style Guide
  • Useful Links
  • Using Schemas
  • Version Control
  • Q&A
    • Blocks and Items Q&A 2024/08/30
    • Deferred Technical Preview Q&A 2024/02/23
    • GameTest Q&A 2021/08/06
    • Scripting and Editor Q&A 2023/09/22
    • World Generation Q&A 2024/11/15
NBT
  • General
    • .mcstructure
  • Tutorials
    • Enabling Experiments by Editing NBT
    • Extending Structure Limits
  • NBT in Depth
    • About NBT (Named Binary Tag)
    • NBT Libraries
    • Reading NBT Example
Particles
  • General
    • Intro to Particles
      guide
  • Tutorials
    • Disabling Particles
  • Documentation
    • Vanilla Particles
Scripting
  • General
    • Intro to Scripting
    • What is Script API?
    • API Modules
  • Tutorials
    • Script Core Features
    • Block Placement Prevention
    • Custom Commands
    • GameTests
    • Script Privileges
    • Script Requests API
    • Server Forms
  • Documentation
    • Engine Environment
    • Script Resources
    • Script Watchdog
    • Troubleshooting JavaScript
    • TypeScript
Servers
  • Software
    • Bedrock Server Software
  • Protocols
    • Bedrock Protocol
    • NetherNet Protocol
    • RakNet Protocol
Text & Localization
  • General
    • Intro to Text & Localization
    • Raw Text
    • Splashes
  • Emojis & Symbols
    • Fonts
    • Intro to Emojis
    • Custom Emojis
    • Input Keys
Visuals
  • General
    • Introduction to Entity Visuals
      guide
    • Bedrock Modeling
    • Custom Death Animations
    • Effects in Animations
    • Material Creations
    • Materials
    • Math-Based Animations
    • Skin Packs
  • Tutorials
    • Entity Texture Animation
    • Glowing Entity Texture
    • Hurt Animations
    • Leash Position
    • Player Geometry
    • Remove Entity Shadows
    • Retexturing Spawn Eggs
  • Ideas
    • Structure Presentation
World Generation
  • General
    • Intro to World Generation
      guide
    • Biomes
    • Client Biomes
    • Dimensions
    • Feature Types
    • Jigsaw Structures
  • Tutorials
    • Block Conditions for Features
    • Generating Custom Jigsaw Structures
    • Generating Custom Ores
    • Generating Custom Structures
    • Generating Patches
    • Heightmap Noise
  • Documentation
    • Biome Tags

Dimensions

Dimensions
  • Folder Structure
  • Format
  • Description
    • identifier
  • Components
    • minecraft:generation
    • minecraft:dimension_height
    • minecraft:default_biome
  • Entering a Custom Dimension
Related Pages
  • Biomes

Custom dimensions are new spaces outside of the Overworld, Nether and End. A dimension JSON file in your behavior pack declares the dimension's identifier, how it generates, its vertical size and its default biome. Once defined, the dimension exists in every world the pack is applied to and can be reached from script.

WARNING

Custom dimensions currently only support the void generator, so they contain no terrain until you place blocks in them. There is also no portal or command support for entering a custom dimension yet; players are moved in and out with the Script API.

Folder Structure ​

Each dimension is one JSON file inside the behavior pack's dimensions folder. The file name does not matter, but it is good practice to match it to the dimension's identifier.

      • void_arena.json

Format ​

The file contains a single minecraft:dimension object with a description and a components object, following the same shape as entities and blocks.

📝 BP/dimensions/void_arena.json
json
{
    "format_version": "1.26.50",
    "minecraft:dimension": {
        "description": {
            "identifier": "wiki:void_arena"
        },
        "components": {
            "minecraft:generation": {
                "generator_type": "void"
            },
            "minecraft:dimension_height": {
                "min_y": -64,
                "height_range": 384
            },
            "minecraft:default_biome": {
                "biome": "minecraft:plains"
            }
        }
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

Description ​

identifier ​

Required

The namespaced identifier of the dimension, for example wiki:void_arena. This is the ID used by world.getDimension() in script and reported by Dimension.id. Vanilla identifiers (minecraft:overworld, minecraft:nether, minecraft:the_end) cannot be used for custom dimensions.

Components ​

minecraft:generation ​

Required

Controls how the dimension generates terrain.

  • generator_type - The generator to use. Only "void" is currently supported for custom dimensions, which produces an empty dimension with no terrain, structures or features.
json
"minecraft:generation": {
    "generator_type": "void"
}
1
2
3

minecraft:dimension_height ​

Optional

Sets the vertical bounds of the dimension. Both fields are required if the component is present. If omitted, the dimension uses the default Overworld range of -64 to 320.

  • min_y - The lowest Y level of the dimension. Integer between -512 and 512.
  • height_range - The number of blocks between the bottom and the top of the dimension. Integer between 16 and 1024, and must be a multiple of 16.

The dimension must stay within the world's absolute limits of -512 to 512: min_y cannot be below -512, and the top of the dimension, min_y + height_range, cannot exceed 512.

json
"minecraft:dimension_height": {
    "min_y": -512,
    "height_range": 1024
}
1
2
3
4

minecraft:default_biome ​

Optional

The biome that fills the dimension. Custom biomes work here as well as vanilla ones. Because the generator is void, the biome does not produce terrain, but it still controls things like the sky and fog colour, mob spawning and the biome reported to scripts and commands.

  • biome - The identifier of the biome.

This component is only valid on custom dimensions. Using it on a vanilla dimension produces a content error.

json
"minecraft:default_biome": {
    "biome": "wiki:crystal_caves"
}
1
2
3

Entering a Custom Dimension ​

Dimensions defined in JSON are loaded automatically and appear in DimensionTypes.getAll() alongside the vanilla ones. Because a void dimension has nothing in it, you should build a landing area before sending players there, and keep the destination chunks loaded with a ticking area while you do so.

📝 BP/scripts/main.js
js
import { world, BlockPermutation } from "@minecraft/server";

const DIMENSION_ID = "wiki:void_arena";
const SPAWN = { x: 0, y: 64, z: 0 };

/** Places a small stone platform under the spawn point. */
async function buildPlatform() {
    const dimension = world.getDimension(DIMENSION_ID);

    await world.tickingAreaManager.createTickingArea("wiki:void_arena_setup", {
        dimension,
        from: { x: SPAWN.x - 6, y: SPAWN.y - 2, z: SPAWN.z - 6 },
        to: { x: SPAWN.x + 6, y: SPAWN.y + 2, z: SPAWN.z + 6 },
    });

    const stone = BlockPermutation.resolve("minecraft:stone");
    for (let x = -4; x <= 4; x++) {
        for (let z = -4; z <= 4; z++) {
            dimension
                .getBlock({ x: SPAWN.x + x, y: SPAWN.y - 1, z: SPAWN.z + z })
                ?.setPermutation(stone);
        }
    }

    world.tickingAreaManager.removeTickingArea("wiki:void_arena_setup");
}

world.afterEvents.worldLoad.subscribe(() => {
    buildPlatform();
});

world.afterEvents.itemUse.subscribe(({ source, itemStack }) => {
    if (itemStack.typeId !== "minecraft:compass") return;

    source.teleport(SPAWN, { dimension: world.getDimension(DIMENSION_ID) });
});
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36

TIP

Ticking areas created from script currently require the beta version of @minecraft/server. See the Building with the Custom Dimension API tutorial on Microsoft Learn for a fuller example that also registers dimensions from script instead of JSON.

Contributors

Edit Dimensions on GitHub

Bedrock Wiki by Bedrock OSS

"Minecraft" is a trademark of Mojang AB.

Bedrock OSS, Bedrock Wiki and bedrock.dev are not affiliated in any way with Microsoft or Mojang AB.

  • Privacy Policy
  • Join our Discord
  • Learn how to Contribute
  • Visit our Repository