Skip to content

Instantly share code, notes, and snippets.

View Lgmrszd's full-sized avatar
:shipit:

Lgmrszd Lgmrszd

:shipit:
  • 13:23 (UTC +03:00)
View GitHub Profile

Keybase proof

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:

@Lgmrszd
Lgmrszd / README.md
Last active October 26, 2023 19:58
"Oh The Biomes You'll Go" biome config to include Biomes 'O' Plenty biomes.

Original post

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:

@Lgmrszd
Lgmrszd / screwdriver.zs
Last active October 26, 2023 19:59
Example CT script for creating GT tools using artisan worktables
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();
}
@Lgmrszd
Lgmrszd / tools.zs
Last active October 26, 2023 20:00
example script
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")