Have you tried testing weather with the command...
/execute in minecraft:overworld run weather rain
Running the normal /weather rain command in another dimension has no effect on the weather. Interesting fact, it appears that the state of weather in the overworld is always going to be the state of weather in any other dimensions. Speaking as a mod developer working on dimensions where weather should not be visible and one with a custom weather effect.
Hello, guys! I created a custom dimension and when I try to summon it rain, it doesn't rain, but in overworld everything is ok
Generation is working fine
How can I fix this?
Thank you in advance!
Here is code:
dimension/custom.json
{
"type": "namespace:custom_type",
"generator": {
"type": "minecraft:noise",
"settings": "namespace:custom_noise",
"biome_source": {
"type": "minecraft:multi_noise",
"biomes": [
{
"biome": "namespace:custom_biome",
"parameters": { ... }
}
]
}
}
}
dimension_type/custom_type.json
{
"ultrawarm": false,
"natural": true,
"piglin_safe": false,
"respawn_anchor_works": false,
"bed_works": true,
"has_raids": false,
"has_skylight": true,
"has_ceiling": false, // Celling = false
"coordinate_scale": 1,
"ambient_light": 0,
"logical_height": 256,
"effects": "minecraft:overworld",
"infiniburn": "#minecraft:infiniburn_overworld",
"min_y": 0,
"height": 256,
"monster_spawn_light_level": 0,
"monster_spawn_block_light_limit": 0
}
worldgen/biome/custom_biome.json
{
"temperature": 0.6,
"downfall": 0.6,
"creature_spawn_probability": 0,
"effects": { ... },
"temperature_modifier": "none",
"precipitation": "rain", // Precipitation = rain
"spawners": {},
"spawn_costs": {},
"carvers": {},
"features": [ ... ]
}
Have you tried testing weather with the command...
Running the normal /weather rain command in another dimension has no effect on the weather. Interesting fact, it appears that the state of weather in the overworld is always going to be the state of weather in any other dimensions. Speaking as a mod developer working on dimensions where weather should not be visible and one with a custom weather effect.
Thank you very much!