2

Unable to get my dimension to work

2 emeralds14 replies71 views
JollyWinter started 06/19/2020 11:31 am history
Honest_Angel replied 09/01/2020 4:56 pm
I'm trying to make a dimension using a datapack, but I can't get it to work. I'm not sure what I'm doing wrong that others are doing right... Any help is much appreciated.

Thanks,
JW


(DATAPACK)/data/minecraft/dimension/custom/dim.json

(DATAPACK)/data/minecraft/dimension_type/custom/dim.json
Posted by avatar
JollyWinter
Level 21 : Expert Explorer
3

14 replies

1
09/01/2020 4:56 pm
Level 8 : Apprentice Princess
Honest_Angel
Here is my void and it works...

{
"type": "minecraft:overworld",
"generator": {
"type": "minecraft:flat",
"settings": {
"layers": [
{
"height": 1,
"block": "minecraft:air"
}
],
"biome": "minecraft:plains",
"structures": {
"structures": {}
}
}
}
}
1
06/29/2020 7:59 am
Level 54 : Grandmaster Cyborg
Bertiecrafter
Go to the logs folder in .minecraft and open up the latest log. It actually shows you some pretty useful debug messages about what it expected and what is missing in your json files.
1
06/29/2020 1:28 pm
Level 21 : Expert Explorer
JollyWinter
Oh, sweet! Thanks, I will definitely use that!
2
06/19/2020 11:54 am
Level 47 : Master Miner
WandererReece
Remove the comma after "type": "minecraft:flat".
1
06/19/2020 11:22 pm
Level 21 : Expert Explorer
JollyWinter
Hmm... That would seem to be a problem, but alas that didn't fix it... :(
3
06/20/2020 7:39 am
Level 47 : Master Miner
WandererReece
Ok, I compared your superflat dimension with mine again, and I found some more differences.

-In dimension type, I have entries for "piglin_safe" and "infiniburn". Maybe you need them too.
-I also have spaces after all my colons. Maybe that matters.

Also, I know for a fact you don't need to list air. The game will automatically place air above all the listed layers. However, I doubt it's an actual problem. I've seen superflats with gaps in the middle.
2
06/20/2020 1:55 pm
Level 34 : Artisan Loremaster
One_Nose
In Json, spaces never matter.
2
06/20/2020 5:57 pm
Level 47 : Master Miner
WandererReece
Thanks for the tip. I wasn't entirely sure how the grammar worked.
1
06/20/2020 9:47 am
Level 21 : Expert Explorer
JollyWinter
I added the "piglin_safe" and "infiniburn" and that seems to have worked! :D

For the air, I'm specifying there to be air below the bedrock. Minecraft wants you to flip your world upside down in the code.
1
06/20/2020 5:52 pm
Level 47 : Master Miner
WandererReece
Lol, I forgot the upside down part, and I was looking at mine the whole time.

At least we figured out the problem.
1
06/19/2020 12:08 pm
Level 34 : Artisan Loremaster
One_Nose
I think this is the problem. Also, don't call your folder "custom" - it works but the name should be unique, like your data pack namespace is.
1
06/19/2020 11:20 pm
Level 21 : Expert Explorer
JollyWinter
Ah, I see, luckily "custom" was a placeholder. Their actual names are more unique.
1
06/19/2020 11:53 am
Level 45 : Master Modder
2mal3
Funnily enough, today was the first time I really got into custom dimensions.
I think the file locations and the dimensions_type file are correct. But I think the custom dimensions file has some errors.
I recommend using the website misode.github.io/worldgen/, there you can easily create your own dimensions. Just delete the normal dimensions and replace everything after the "type": with your dimension type. So not
"type": {
  "ultrawarm": false,
  "natural": true,
  "shrunk": false,
  "ambient_light": 0,
  "has_skylight": true,
  "has_ceiling": false
}
but "type": "custom:dim".
1
06/19/2020 11:31 pm
Level 21 : Expert Explorer
JollyWinter
Sadly, that didn't work.
Planet Minecraft Logo

Website

© 2010 - 2020
www.planetminecraft.com

Welcome