fix kjs after removing that iron tool mixin

This commit is contained in:
Pyritie 2026-02-09 19:02:28 +00:00
parent a1bf899845
commit 891654ac5f

View file

@ -355,7 +355,7 @@ const registerGTCEuMaterialModification = (event) => {
GTMaterials.BlackSteel.setProperty(PropertyKey.TOOL, ToolProperty.Builder.of(6.5, 4.5, 1228, 3, metalTooling).build()); GTMaterials.BlackSteel.setProperty(PropertyKey.TOOL, ToolProperty.Builder.of(6.5, 4.5, 1228, 3, metalTooling).build());
// Cast iron tools don't make sense but gregtech shits itself if they're missing, // Cast iron tools don't make sense but gregtech shits itself if they're missing,
// so I'm just giving them terrible terrible stats // so I'm just giving them terrible terrible stats
//GTMaterials.Iron.getProperties().removeProperty(PropertyKey.TOOL); GTMaterials.Iron.getProperties().removeProperty(PropertyKey.TOOL);
GTMaterials.Iron.setProperty(PropertyKey.TOOL, ToolProperty.Builder.of(2.5, 1.0, 20, 2, [GTToolType.PICKAXE]).build()); GTMaterials.Iron.setProperty(PropertyKey.TOOL, ToolProperty.Builder.of(2.5, 1.0, 20, 2, [GTToolType.PICKAXE]).build());
// Hide netherite too // Hide netherite too
GTMaterials.Netherite.getProperty(PropertyKey.TOOL).removeTypes(metalTooling); GTMaterials.Netherite.getProperty(PropertyKey.TOOL).removeTypes(metalTooling);