I imagine you're tired of making a ton of blocks/items one at a time, making a bulky and hard to read JS script. Well, FooterMan has you covered!
This Repo holds a bunch of scripts related to generating a bunch of blocks and items using for loops. No license for the scripts, use at your free will.
There are three folders:
startup_scripts,server_scriptshold scripts. Theassetsfolder has textures you may use providing you follow the licences.The
constants.jsfile has colors defined for some materials. There you can add your own, modify or remove the existing materials.In each
startupdatagen file, is avarused to get the colors of materials fromconstants.js. There is anothervarbelow with the names of the materials. You will need to add a material to bothvars, otherwise it will not work.Below that, is the main part. You will see a
forloop, with the datagen code inside it. Add / modfy what you want your item / block to have / not have. For example, if it's a block, you can add your own tags, sounds, etc. Do note, the textures used for these scripts can come from another mod, or custom textures made by me.For the server scripts, there will be recipes for whatever is made. For example, theres a script that makes a bunch of datagenerated Tools, using a
forloop. Make your recipes how you want. I will not provide recipes for everything, you can use the Tools script as a base.