mcenderdragon / Futurepack-API

A small Api for the Futurepack
21 stars 4 forks source link

[1.16.5]Nether and biomes oplenty problem with cfg block #757

Open J0dla opened 3 years ago

J0dla commented 3 years ago

Hello, Im using: futurepack-1.16.4-21.0.6 Forge: 36.0.13 My goal was to stop tec dungeons and crystals from generating in nether. But i stuck with some problems and i would be pleased if you could help me. The biomes i try to block from spawning dung: "biomesoplenty:crystalline_chasm", "biomesoplenty:undergrowth", "biomesoplenty:visceral_heap", "biomesoplenty:withered_abyss"

When i added them to cfg they got removed eveyrtime game start. With alert in logs: Incorrect key world_generation.bl_tec_dungeons So my question how to block them properly ?

To block crystals i changeg cfg line to : minecraft:(?!nether|end|the_end|the_nether) So far i didnt find them spawn but i lack knowledge how to test it properly. Thanks to you now i know what ?! stands for :)

This mod is amazing, thank you for your hard work.

mcenderdragon commented 3 years ago

I dont clear the configs, if the key was incorrect and the config got cleared then the formatting was wrong.

J0dla commented 3 years ago

So i was doing more tests and the results were bad. Does "bl_tec_dungeons" block all structures like shafts small bases ? Somehow even on default they spawn in biomes like "minecraft:soul_sand_valey", "minecraft:basalt_deltas", neon caves too ...

Ok, i created new installation 1.16.5 with forge 36.0.13 with only futurepack installed and i replicated the issue. Structures are generated in nether, cfg file doesnt do anything.

mcenderdragon commented 3 years ago

can you copy your config file into here ?

J0dla commented 3 years ago

I just went for deafault one but ok:


[client]
    #This is the volume of the optibench
    #Range: 0.0 ~ 2.0
    volume_optibench = 1.0
    #This is the volume of the deepcore miner
    #Range: 0.0 ~ 2.0
    volume_deepcoreminer = 1.0
    #This is the volume of the T0 generator
    #Range: 0.0 ~ 2.0
    volume_generator = 1.0
    #This is the volume of the partpress
    #Range: 0.0 ~ 2.0
    volume_partpress = 1.0
    #If true the EScanner text will be smaler and more text can be rendered, using the default font otherwise.
    allow_uncide_font = true
    #This is the volume of the airlock
    #Range: 0.0 ~ 2.0
    volume_airlock = 1.0
    #Should your world be backuped on world load?
    futurepack_backup_on_load = true
    #If true, will add all Research-Blueprints to the Futurepack Tab.
    enable_blueprints_in_creative = false
    #Synchronize and show: Itemflow in Pipes
    render_pipe_items = true
    #This is the volume of the electro magnet
    #Range: 0.0 ~ 2.0
    volume_emagnet = 1.0
    #Show custom loading Screen
    futurepack_start_menu = false
    #Should the backup info screen on world load be hidden?
    futurepack_hide_backup_screen = true
    #This is for Mantes and BTM
    quick_holograms = ["{res:\"minecraft:grass\",snowy:false}"]
    #Should the backup screen be replaced by a custom futurepack screen?
    futurepack_replace_backup_screen_with_custom = true
    #Synchronize and show: Lasers from turrets
    do_entity_eater_sync = true

[research]
    #This will disable the research feature so everybody will have access to all researches from the very start.
    disable_researching = false
    #Factor to manipulate requirements of all Researches (Neon-Energy Bar). This entry should have the same value on server and client!
    #Range: 9.999999974752427E-7 ~ 100.0
    neon_factor = 1.0
    #Factor to manipulate requirements of all Researches (Support Bar). This entry should have the same value on server and client!
    #Range: 0.0010000000474974513 ~ 100.0
    support_factor = 1.0
    #Factor to manipulate requirements of all Researches (Experience Bar). This entry should have the same value on server and client!
    #Range: 0.0010000000474974513 ~ 100.0
    xp_factor = 1.0
    #Factor to manipulate requirements of all Researches (Time Bar). This entry should have the same value on server and client!
    #Range: 0.0010000000474974513 ~ 100.0
    time_factor = 1.0

[common]
    #Number of blocks supported by one thruster
    #Range: 0 ~ 100000
    thruster_block_move_count = 101
    #The saturation added after eating an Erse
    #Range: 0.10000000149011612 ~ 10.0
    erse_food_saturation = 0.30000001192092896
    #Should smelt recipes allways be added for Futurepack materials. Only use this if Dust to Ingot recipes are missing!
    force_smelt_recipes = false
    #The Amount of food when eating an Erse
    #Range: 1 ~ 20
    erse_food_value = 3

[world_generation]
    #Distance in Chunks ( so *16 for block coords) around the spawn were no huge dungeons will spawn.
    #Range: > 0
    huge_dungeon_mindis = 0
    #Chance of a normal Tecdungeon to spawn in a chunk
    #Range: 0.0 ~ 0.2
    tec_dungeon_spawnrate = 0.006670000031590462
    #Heigth for Bedrockrift: Should be equal to flat bedrock heigth (if used)
    #Range: 0 ~ 255
    bedrock_rift_height = 1
    #A blacklist to stop tec dungeon spawn in biomes.
    bl_tec_dungeons = ["minecraft:nether_wastes", "minecraft:crimson_forest", "minecraft:warped_forest", "minecraft:soul_sand_valey", "minecraft:basalt_deltas", "minecraft:the_end", "minecraft:small_end_islands", "minecraft:end_midlands", "minecraft:end_highlands", "minecraft:end_barrens", "minecraft:the_void"]
    #Quantity of Bedrock Rifts
    #Range: 0 ~ 25
    bedrock_rift = 1
    #Distance in Chunks ( so *16 for block coords) around the spawn were no tec dungeons will spawn.
    #Range: > 0
    tec_dungeon_mindis = 0
    #A whitelist for enabling huge dungeon spawn in other dimensions.
    wl_huge_dungeons = ["minecraft:overworld"]
    #The amount erse generation  loops per chunk. If greater then one it will run mutliple times, smaler then one will result in percentage per chunk. Keep in mind erse will only spawn if there is the tall grass ( not the grass block, not the 2-block tall grass)
    #Range: 0.0 ~ 100.0
    erse_count = 2.0
    #Chance of a huge Tecdungeon to spawn in a chunk
    #Range: 0.0 ~ 0.1
    huge_dungeon_spawnrate = 0.0012

    [world_generation.ores]
        #Quantity of Copper Ore
        #Range: 0 ~ 25
        copper_ore = 10
        #A blacklist to stop tin ore from spawning in this biome
        bl_tin_ore = []
        #Quantity of Magnetite Ore
        #Range: 0 ~ 25
        magnetite_ore = 7
        #A blacklist to stop copper ore from spawning in this biome
        bl_copper_ore = []
        #Quantity of Tin Ore
        #Range: 0 ~ 25
        tin_ore = 10
        #Quantity of Menelaus Coal Ore
        #Range: 0 ~ 25
        coal_m_ore = 10
        #Quantity of Zinc Ore
        #Range: 0 ~ 25
        zinz_ore = 10
        #Quantity of Menelaus Quartz Ore
        #Range: 0 ~ 25
        quartz_m_ore = 8
        #Quantity of Bauxite Ore
        #Range: 0 ~ 25
        bauxite_ore = 7
        #A blacklist to stop bauxite ore from spawning in this biome
        bl_bauxite_ore = []
        #A blacklist to stop magnetite ore from spawning in this biome
        bl_magnetite_ore = []
        #A blacklist to stop zinc ore from spawning in this biome
        bl_zinc_ore = []
        #Quantity of Menelaus Copper Ore
        #Range: 0 ~ 25
        copper_m_ore = 6

    [world_generation.caves]
        #Chance of Glowtite Holes in Percent (per chunk)
        #Range: 0 ~ 100
        hole_glowtite = 5
        #Chance of Bioterium Holes in Percent (per chunk)
        #Range: 0 ~ 100
        hole_bioterium = 5
        #A biome whitelist for enabling bioterium crystal caves in other dimensions. (regular expression)
        wl_bioterium_cave = ["futurepack:tyros[\\w]*"]
        #A biome whitelist for enabling alutin crystal caves in other dimensions. (regular expression)
        wl_alutin_cave = ["minecraft:(?!nether|end|the_end)"]
        #A biome whitelist for enabling glowtite crystal caves in other dimensions. (regular expression)
        wl_glowtite_cave = ["futurepack:menelaus[\\w]*"]
        #Chance of Alutin Holes in Percent (per chunk)
        #Range: 0 ~ 100
        hole_alutin = 5
        #Chance of Retium Holes in Percent (per chunk)
        #Range: 0 ~ 100
        hole_retium = 5
        #A biome whitelist for enabling neon crystal caves in other dimensions. (regular expression)
        wl_neon_cave = ["minecraft:(?!nether|end|the_end)"]
        #Chance of Neon Holes in Percent (per chunk)
        #Range: 0 ~ 100
        hole_neon = 5
        #A biome whitelist for enabling retium crystal caves in other dimensions. (regular expression)
        wl_retium_cave = ["futurepack:menelaus[\\w]*"]

[server]
    #If set to true, the Miner will no longer load itself
    disbale_miner_chunkloading = false
    #A Player must wait this time (in ms) until he can jump with a spaceship again. This prevents griefers from attacking servers.
    #Range: > 1
    spacetravel_cooldown = 60000
    #This disables the research checking ins die the researcher. If enabled you can research a blueprint, even if this would not be possible.
    disable_research_check = false
    #Disable this, to prevent glowmelows to fall down after they are fully grown.
    glowmelow_drop = true
    #If false the player will not receive a note a the start on a world
    spawn_note_enabled = true
    #Change this if you dont not want to use the vanilla dimension as start but rather a differen one.
    overworld_dimension = "overworld"
    #If set to true you can no longer pickup spawner with the spawner chest. Crafting and researching tt is still possible.
    disable_spawnerchest = false
    #If set to true, the claime will no longer load the chunk it is placed in.
    disable_claime_chunkloading = false
    #This disables the 'You dont know how to use this machine' message, and you can open the gui.
    disable_machine_lock = false
    #This will force the ingame network (network cables) too use an extra thread, thus improving performance. This will most likely crash SpongeForge, so disable it when this happens (Will not corrupt your worlds).
    enforce_extra_thread_for_network = true
mcenderdragon commented 3 years ago

I meant more like what you put into the config before it got reset. as I said I dont reset the config I only read it.

J0dla commented 3 years ago

Changed line to:

[net.minecraftforge.common.ForgeConfigSpec/CORE]: Configuration file Z:\Minecraft\Tester\config\futurepack-common.toml is not correct. Correcting
 [modloading-worker-2/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key world_generation.bl_tec_dungeons was corrected from [minecraft:nether_wastes, minecraft:crimson_forest, minecraft:warped_forest, minecraft:soul_sand_valey, minecraft:basalt_deltas, minecraft:the_end, minecraft:small_end_islands, minecraft:end_midlands, minecraft:end_highlands, minecraft:end_barrens, minecraft:the_void, biomesoplenty:crystalline_chasm, biomesoplenty:undergrowth, biomesoplenty:visceral_heap, biomesoplenty:withered_abyss] to [minecraft:nether_wastes, minecraft:crimson_forest, minecraft:warped_forest, minecraft:soul_sand_valey, minecraft:basalt_deltas, minecraft:the_end, minecraft:small_end_islands, minecraft:end_midlands, minecraft:end_highlands, minecraft:end_barrens, minecraft:the_void]

Something is off even on default it will auto correct itself ....

[modloading-worker-11/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Configuration file Z:\Minecraft\Tester\config\futurepack-common.toml is not correct. Correcting
[08lut2021 21:43:51.030] [modloading-worker-11/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key world_generation.bl_tec_dungeons was corrected from [minecraft:nether_wastes, minecraft:crimson_forest, minecraft:warped_forest, minecraft:soul_sand_valey, minecraft:basalt_deltas, minecraft:the_end, minecraft:small_end_islands, minecraft:end_midlands, minecraft:end_highlands, minecraft:end_barrens, minecraft:the_void] to [minecraft:nether_wastes, minecraft:crimson_forest, minecraft:warped_forest, minecraft:soul_sand_valey, minecraft:basalt_deltas, minecraft:the_end, minecraft:small_end_islands, minecraft:end_midlands, minecraft:end_highlands, minecraft:end_barrens, minecraft:the_void]

More from debug:

[modloading-worker-11/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Built TOML config for Z:\Minecraft\Tester\config\futurepack-common.toml
[08lut2021 21:43:51.019] [modloading-worker-11/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Loaded TOML config file Z:\Minecraft\Tester\config\futurepack-common.toml
[08lut2021 21:43:51.022] [modloading-worker-11/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Watching TOML config file Z:\Minecraft\Tester\config\futurepack-common.toml for changes
[08lut2021 21:43:51.027] [modloading-worker-11/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Configuration file Z:\Minecraft\Tester\config\futurepack-common.toml is not correct. Correcting
[08lut2021 21:43:51.030] [modloading-worker-11/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key world_generation.bl_tec_dungeons was corrected from [minecraft:nether_wastes, minecraft:crimson_forest, minecraft:warped_forest, minecraft:soul_sand_valey, minecraft:basalt_deltas, minecraft:the_end, minecraft:small_end_islands, minecraft:end_midlands, minecraft:end_highlands, minecraft:end_barrens, minecraft:the_void] to [minecraft:nether_wastes, minecraft:crimson_forest, minecraft:warped_forest, minecraft:soul_sand_valey, minecraft:basalt_deltas, minecraft:the_end, minecraft:small_end_islands, minecraft:end_midlands, minecraft:end_highlands, minecraft:end_barrens, minecraft:the_void]
[08lut2021 21:43:51.064] [modloading-worker-11/DEBUG] [futurepack/]: Loaded FP config file {}
[08lut2021 21:43:51.072] [Thread-1/DEBUG] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Config file futurepack-common.toml changed, sending notifies
[08lut2021 21:43:51.073] [Thread-1/FATAL] [futurepack/]: FP config just got changed on the file system!

So no matter what you put in cfg it will always "correct itself" so yeah this is kinda pointless to change anything in it.

mcenderdragon commented 3 years ago

@J0dla can you test again. 4 days ago this forge bug was fixed.

J0dla commented 3 years ago

Minecraft 1.16.5 Forge: 36.1.2 Futurepack: 1.16.4-31.1.8226 My first test was to just dont change anything in cfg and check nether i found crystal structures(alot of them), aaand mini ship. In logs i get again:

`[24mar2021 09:30:38.829] [modloading-worker-7/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Configuration file F:\Minecraft\Tester\config\futurepack-common.toml is not correct. Correcting
[24mar2021 09:30:38.830] [modloading-worker-7/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key world_generation.bl_tec_dungeons was corrected from [minecraft:nether_wastes, minecraft:crimson_forest, minecraft:warped_forest, minecraft:soul_sand_valey, minecraft:basalt_deltas, minecraft:the_end, minecraft:small_end_islands, minecraft:end_midlands, minecraft:end_highlands, minecraft:end_barrens, minecraft:the_void] to its default, [minecraft:nether_wastes, minecraft:crimson_forest, minecraft:warped_forest, minecraft:soul_sand_valey, minecraft:basalt_deltas, minecraft:the_end, minecraft:small_end_islands, minecraft:end_midlands, minecraft:end_highlands, minecraft:end_barrens, minecraft:the_void]. `

Then i tried changing anything in cfg to check if it will auto reverse, it didnt. Test A with adding the_nether to crystals to block them, test failed. Structures,crystals are generating in nether. Test B with changing bauxite to 0, checking ores in world resulted in success no bauxite in world and config didnt reset. Config files can be used again thats super nice, now the only thing left is to fix structure and crystal generating in nether, thank you for your hard work.

mcenderdragon commented 3 years ago

sounds like https://github.com/MinecraftForge/MinecraftForge/pull/7671 did not fix this.

mcenderdragon commented 3 years ago

please check this version: 31.1.8230.jar

J0dla commented 3 years ago

Good news no errors in logs, bad news structures and crystals are generating in nether, and i found 4 crystal deposits next to eachother + mini structure in one of tests.