Posted October 11, 20222 yr whenever I assign surface rules to my custom dimension i get this error Caused by: java.lang.IllegalStateException: Trying to access unbound value 'ResourceKey[minecraft:dimension / majestic:ancient_realms]' from registry Registry[ResourceKey[minecraft:root / minecraft:dimension] (Stable)] these are the surface rules "surface_rule": { "type": "minecraft:sequence", "sequence": [ { "type": "minecraft:condition", "if_true": { "type": "minecraft:vertical_gradient", "random_name": "bedrock_floor", "true_at_and_below": { "above_bottom": 0 }, "false_at_and_above": { "above_bottom": 5 } }, "then_run": { "type": "minecraft:block", "result_state": { "Name": "minecraft:bedrock" } } }, { "type": "minecraft:condition", "if_true": { "type": "minecraft:vertical_gradient", "random_name": "bedrock_roof", "true_at_and_below": { "below_top": 0 }, "false_at_and_above": { "below_top": 5 } }, "then_run": { "type": "minecraft:block", "result_state": { "Name": "minecraft:bedrock" } } }, { "type": "minecraft:condition", "if_true": { "type": "minecraft:biome", "biome_is": [ "majestic:ancient_basalt_deltas" ] }, "then_run": { "type": "minecraft:block", "result_state": { "Name": "minecraft:stone" } } } ] } and the full .json file { "type": "majestic:ancient_realms", "generator": { "type": "minecraft:noise", "seed": 0, "settings": { "sea_level": 32, "disable_mob_generation": true, "aquifers_enabled": false, "ore_veins_enabled": false, "legacy_random_source": true, "default_block": { "Name": "majestic:limestone" }, "default_fluid": { "Name": "majestic:limestone", "Properties": { "level": "0" } }, "noise": { "min_y": 0, "height": 192, "size_horizontal": 1, "size_vertical": 2, "sampling": { "xz_scale": 1, "y_scale": 3, "xz_factor": 80, "y_factor": 60 }, "bottom_slide": { "target": 2.5, "size": 4, "offset": -1 }, "top_slide": { "target": 0.9375, "size": 3, "offset": 0 }, "terrain_shaper": { "offset": 0, "factor": 0, "jaggedness": 0 } }, "noise_router": { "barrier": 0, "fluid_level_floodedness": 0, "fluid_level_spread": 0, "lava": 0, "temperature": 0, "vegetation": 0, "continents": 0, "erosion": 0, "depth": 0, "ridges": 0, "initial_density_without_jaggedness": 0, "final_density": { "type": "minecraft:interpolated", "argument": "minecraft:overworld/base_3d_noise" }, "vein_toggle": 0, "vein_ridged": 0, "vein_gap": 0 }, "surface_rule": { "type": "minecraft:sequence", "sequence": [ { "type": "minecraft:condition", "if_true": { "type": "minecraft:vertical_gradient", "random_name": "bedrock_floor", "true_at_and_below": { "above_bottom": 0 }, "false_at_and_above": { "above_bottom": 5 } }, "then_run": { "type": "minecraft:block", "result_state": { "Name": "minecraft:bedrock" } } }, { "type": "minecraft:condition", "if_true": { "type": "minecraft:vertical_gradient", "random_name": "bedrock_roof", "true_at_and_below": { "below_top": 0 }, "false_at_and_above": { "below_top": 5 } }, "then_run": { "type": "minecraft:block", "result_state": { "Name": "minecraft:bedrock" } } }, { "type": "minecraft:condition", "if_true": { "type": "minecraft:biome", "biome_is": [ "majestic:ancient_basalt_deltas" ] }, "then_run": { "type": "minecraft:block", "result_state": { "Name": "minecraft:stone" } } } ] } }, "biome_source": { "type": "majestic:ancient_basalt_deltas", "biomes": [ { "biome": "minecraft:plains", "parameters": { "temperature": 0, "humidity": 0, "continentalness": 0, "erosion": 0, "weirdness": 0, "depth": 0, "offset": 0 } } ] } } }
October 11, 20222 yr "type" in the level stem represents the dimension type. It doesn't have anything to do with the surface rules. You can look at slicedlime's vanilla worldgen jsons for examples.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.