Initial commit
This commit is contained in:
30
data/dev/dimension/dimension.json
Normal file
30
data/dev/dimension/dimension.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"type": "minecraft:overworld",
|
||||
"generator": {
|
||||
"type": "minecraft:flat",
|
||||
"settings": {
|
||||
"biome": "minecraft:plains",
|
||||
"lakes": false,
|
||||
"features": false,
|
||||
"layers": [
|
||||
{
|
||||
"height": 120,
|
||||
"block": "minecraft:air"
|
||||
},
|
||||
{
|
||||
"height": 1,
|
||||
"block": "minecraft:bedrock"
|
||||
},
|
||||
{
|
||||
"height": 3,
|
||||
"block": "minecraft:dirt"
|
||||
},
|
||||
{
|
||||
"height": 1,
|
||||
"block": "minecraft:grass_block"
|
||||
}
|
||||
],
|
||||
"structure_overrides": []
|
||||
}
|
||||
}
|
||||
}
|
||||
14
data/dev/dimension_type/dimension.json
Normal file
14
data/dev/dimension_type/dimension.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"has_skylight": true,
|
||||
"has_ceiling": false,
|
||||
"has_ender_dragon_fight": false,
|
||||
"coordinate_scale": 1,
|
||||
"ambient_light": 0,
|
||||
"has_fixed_time": true,
|
||||
"logical_height": 0,
|
||||
"infiniburn": "#minecraft:infiniburn_overworld",
|
||||
"min_y": -64,
|
||||
"height": 320,
|
||||
"monster_spawn_light_level": 0,
|
||||
"monster_spawn_block_light_limit": 0
|
||||
}
|
||||
13
data/dev/function/teleport.mcfunction
Normal file
13
data/dev/function/teleport.mcfunction
Normal file
@@ -0,0 +1,13 @@
|
||||
execute if dimension minecraft:overworld in dev:dimension run tp 0 61 0
|
||||
execute if dimension minecraft:overworld in dev:dimension run return run title @s title "Pocket Dimension"
|
||||
|
||||
execute if dimension minecraft:the_nether in dev:dimension run tp 0 61 0
|
||||
execute if dimension minecraft:the_nether in dev:dimension run return run title @s title "Pocket Dimension"
|
||||
|
||||
execute if dimension minecraft:the_end in dev:dimension run tp 0 61 0
|
||||
execute if dimension minecraft:the_end in dev:dimension run return run title @s title "Pocket Dimension"
|
||||
|
||||
execute if dimension dev:dimension in minecraft:overworld run tp 0 100 0
|
||||
execute if dimension dev:dimension in minecraft:overworld run return run title @s title "Overworld"
|
||||
|
||||
return fail
|
||||
13
pack.mcmeta
Normal file
13
pack.mcmeta
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"pack": {
|
||||
"description": "dev-dimension",
|
||||
"min_format": [
|
||||
101,
|
||||
1
|
||||
],
|
||||
"max_format": [
|
||||
101,
|
||||
1
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user