From 95916aa743eec5bde953f77b37911d51ef1c4564 Mon Sep 17 00:00:00 2001 From: trinsdar <30245301+Trinsdar@users.noreply.github.com> Date: Thu, 23 Nov 2023 02:02:20 -0500 Subject: [PATCH] hid unused jackhammers and electric screwdrivers --- common/src/main/java/muramasa/gregtech/GregTech.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common/src/main/java/muramasa/gregtech/GregTech.java b/common/src/main/java/muramasa/gregtech/GregTech.java index 5adfbf96f..33c7711c3 100644 --- a/common/src/main/java/muramasa/gregtech/GregTech.java +++ b/common/src/main/java/muramasa/gregtech/GregTech.java @@ -14,6 +14,7 @@ import muramasa.antimatter.registration.IAntimatterRegistrar; import muramasa.antimatter.registration.RegistrationEvent; import muramasa.antimatter.registration.Side; +import muramasa.antimatter.tool.IAntimatterTool; import muramasa.antimatter.util.AntimatterPlatformUtils; import muramasa.gregtech.data.Machines; import muramasa.gregtech.data.*; @@ -185,6 +186,11 @@ public void onRegistrationEvent(RegistrationEvent event, Side side) { GTRemapping.init(); AntimatterJEIREIPlugin.addItemsToHide(LAVA); AntimatterJEIREIPlugin.addItemsToHide(l -> { + IAntimatterTool jackhammer_lv = AntimatterAPI.get(IAntimatterTool.class, "jackhammer_lv"); + IAntimatterTool jackhammer_mv = AntimatterAPI.get(IAntimatterTool.class, "jackhammer_mv"); + IAntimatterTool screwdriver_mv = AntimatterAPI.get(IAntimatterTool.class, "electric_screwdriver_mv"); + IAntimatterTool screwdriver_hv = AntimatterAPI.get(IAntimatterTool.class, "electric_screwdriver_hv"); + l.addAll(Arrays.asList(jackhammer_lv.getItem(), jackhammer_mv.getItem(), screwdriver_mv.getItem(), screwdriver_hv.getItem())); if (!GregTechConfig.HARDER_CIRCUITS){ l.addAll(Arrays.asList(GTCoreItems.CircuitBoardPhenolic)); l.addAll(Arrays.asList(CircuitWetware, MicroProcessor, IntegratedProcessor, NanoProcessor, QuantumProcessor));