Jump to content

Defaultconfigs Folder Questions


ArttieF

Recommended Posts

The configs/files in defaultconfigs (or the folder that is set in configs/fml.toml) will be copied to the serverconfigs folder of any newly created world.

This is most likely for use by modpack developers, so they can setup the server configs they want to load every time a world is made in singleplayer.

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • 3 months later...
  • 4 months later...

Sorry, looks like I have a bit of a delayed reply but the scripts folder is for a mod called CraftTweaker, which allows you to change crafting recopies, smelting times, etc. Nearly any professional modpack will be using this mod. More specifically, the scripts folder holds .zs scripts (CraftTweaker's own language) that let you modify the game. More information can be found in the CraftTweakerย docs:ย https://docs.blamejared.com/1.16/en/getting_started/

ย 

For example, because I don't like Netherite, I might make a script like the following (I actually run this one on my server):ย 

furnace.removeRecipe(<item:minecraft:netherite_scrap>); //Makes it so Netherite Scrap can't be created by Ancient Debris in a furnace
blastFurnace.removeRecipe(<item:minecraft:netherite_scrap>); //Makes it so Netherite Scrap can't be created by Ancient Debris in a blast furnace
mods.jei.JEI.hideItem(<item:minecraft:netherite_scrap>); //Hides Netherite Scrap from JEI
craftingTable.removeByName("minecraft:netherite_ingot"); //Removes a specific recipe from the game. In this case, removes the recipe that turns scrap and gold into ingots
craftingTable.addShaped("EasyNetherite", <item:minecraft:netherite_ingot> * 2, [[<item:minecraft:air>, <item:minecraft:coal>, <item:minecraft:air>],[<item:minecraft:diamond>,<item:minecraft:obsidian>,<item:minecraft:gold_ingot>],[<item:minecraft:air>,<item:minecraft:netherrack>,<item:minecraft:air>]]); //Adds a new recipe that makes two netherite from coal, doamond, obsidian, gold, and netherrack.

The basics for the language are quite if you spend a bit of time looking at the docs. Hope this helps to answer your question!

  • Like 1
Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.