Skip to content

Instantly share code, notes, and snippets.

View Kage-Yami's full-sized avatar

Joel S Kage-Yami

  • Australia
  • 01:39 (UTC +10:00)
View GitHub Profile
@Kage-Yami
Kage-Yami / latest.log
Created May 22, 2021 11:51
Minecraft logs for CraftTweaker OR'd tags issue
[19:54:20] [main/INFO]: ModLauncher running: args [--username, Kage__Yami, --version, forge-36.1.23, --gameDir, D:\minecraft\Instances\Yami, --assetsDir, D:\minecraft\Install\assets, --assetIndex, 1.16, --uuid, f41d9551c2c440b9bd57709b1cde6c5a, --accessToken, ????????, --userType, mojang, --versionType, release, --width, 1024, --height, 768, --launchTarget, fmlclient, --fml.forgeVersion, 36.1.23, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20210115.111550]
[19:54:20] [main/INFO]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 11.0.11 by AdoptOpenJDK
[19:54:20] [main/INFO]: Added Lets Encrypt root certificates as additional trust
[19:54:20] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.2 Source=file:/D:/minecraft/Install/libraries/org/spongepowered/mixin/0.8.2/mixin-0.8.2.jar Service=ModLauncher Env=CLIENT
[19:54:21] [main/INFO]: [jdk.nashorn.api.scripting.NashornScriptEngine:<init>:143]: Warning: Nashorn engine is planned to be removed from a future JD
@Kage-Yami
Kage-Yami / crafttweaker.log
Created May 22, 2021 11:48
CraftTweaker logs for OR'd tags issue
[21:44:47.640][DONE][SERVER][INFO] Started loading Scripts for Loader 'crafttweaker'!
[21:44:47.662][DONE][SERVER][INFO] Loading file: create.zs
[21:44:47.663][DONE][SERVER][INFO] Loading file: waystones.zs
[21:44:47.666][DONE][SERVER][ERROR] create.zs:48:4 create.zs:48:4: This type has no | operator
[21:44:47.666][DONE][SERVER][ERROR] Scripts are invalid!
[21:44:47.666][DONE][SERVER][INFO] Finished loading Scripts!
[21:44:47.666][DONE][SERVER][INFO] This reload was made possible by Jams and more! Become a patron at https://patreon.com/jaredlll08?s=crtmod
[21:44:51.818][DONE][CLIENT][INFO] Started loading Scripts for Loader 'crafttweaker'!
[21:44:51.842][DONE][CLIENT][INFO] Loading file: create.zs
[21:44:51.843][DONE][CLIENT][INFO] Loading file: waystones.zs
@Kage-Yami
Kage-Yami / create.zs
Created May 22, 2021 11:47
CraftTweaker script with OR'd tags issue
// Tags needed to emulate tag-only ingredient ORs
// <tag:items:yami:enriching_coals>.add(<tag:items:minecraft:coals>);
// <tag:items:yami:enriching_coals>.add(<tag:items:forge:dusts/coal>);
// Add recipes for crushed aluminum ore
<recipetype:minecraft:smelting>.addRecipe("smelt_crushed_aluminum", <item:tmechworks:aluminum_ingot>, <item:create:crushed_aluminum_ore>, 0.1, 200);
<recipetype:minecraft:blasting>.addRecipe("blast_crushed_aluminum", <item:tmechworks:aluminum_ingot>, <item:create:crushed_aluminum_ore>, 0.1, 100);
<recipetype:create:splashing>.addRecipe(
"wash_crushed_aluminum",
[