Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
hid unused jackhammers and electric screwdrivers
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinsdar committed Nov 23, 2023
1 parent 77da21c commit 95916aa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions common/src/main/java/muramasa/gregtech/GregTech.java
Original file line number Diff line number Diff line change
Expand Up @@ -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.*;
Expand Down Expand Up @@ -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));
Expand Down

0 comments on commit 95916aa

Please sign in to comment.