I hereby claim:
- I am lgmrszd on github.
- I am lgmrszd (https://keybase.io/lgmrszd) on keybase.
- I have a public key ASDdEBazIk1GDJdcRX5tvPxDnliLL8OXP6AL33YcHWV3PAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
u/ShakuraKazuki did an amazing job on adding BOP biomes into BYG biome config. However, BYG got new biomes and default config since then. The versions their config is based on are as follows:
Biomes O Plenty Version is: "BiomesOPlenty-1.16.4-13.0.0.431-universal.jar" Biomes you Go Version is: "byg-1.1.10.jar"
I decided to update this config, based on default config of current BYG version.
At the moment of writing, I adapted the config to the version:
import mods.artisanworktables.builder.RecipeBuilder; | |
val materials = ["WroughtIron", "Steel", "Aluminium", "Bronze", "BlackSteel"] as string[]; | |
function toSnakeCase(inp as string) as string{ | |
val regex = "([a-z])([A-Z]+)"; | |
val replacement = "$1_$2"; | |
return inp.replaceAll(regex, replacement).toLowerCase(); | |
} |
import mods.artisanworktables.builder.RecipeBuilder; | |
// List of materials used | |
val materials = ["Iron", "Steel", "Copper", "Bronze", "Tin"] as string[]; | |
val stick = <minecraft:stick>; | |
for mat in materials { | |
// define recipe ingredients needed here | |
val ing = oreDict.get("ingot" + mat); | |
RecipeBuilder.get("engineer") |