Skip to content

Commit

Permalink
Prospector scanner recipe fix (#3708)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ableytner authored Dec 24, 2024
1 parent 28ff96e commit f15ecc1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

public enum IDDetraveMetaGeneratedTool01 {

ProspectorScannerULV(0),
ProspectorScannerLV(2),
ProspectorScannerMV(4),
ProspectorScannerHV(6),
Expand Down
18 changes: 0 additions & 18 deletions src/main/java/detrav/items/DetravMetaGeneratedTool01.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import static detrav.enums.IDDetraveMetaGeneratedTool01.ProspectorScannerLuV;
import static detrav.enums.IDDetraveMetaGeneratedTool01.ProspectorScannerMV;
import static detrav.enums.IDDetraveMetaGeneratedTool01.ProspectorScannerUHV;
import static detrav.enums.IDDetraveMetaGeneratedTool01.ProspectorScannerULV;
import static detrav.enums.IDDetraveMetaGeneratedTool01.ProspectorScannerUV;
import static detrav.enums.IDDetraveMetaGeneratedTool01.ProspectorScannerZPM;
import static gregtech.api.enums.Mods.NewHorizonsCoreMod;
Expand Down Expand Up @@ -47,15 +46,6 @@ public class DetravMetaGeneratedTool01 extends MetaGeneratedTool {
public DetravMetaGeneratedTool01() {
super("detrav.metatool.01");
INSTANCE = this;
addTool(
ProspectorScannerULV.ID,
"Prospector's Scanner(ULV)",
"",
new DetravProspector(0),
DetravToolDictNames.craftingToolProspector.toString(),
new TCAspects.TC_AspectStack(TCAspects.INSTRUMENTUM, 2L),
new TCAspects.TC_AspectStack(TCAspects.METALLUM, 4L),
new TCAspects.TC_AspectStack(TCAspects.PERFODIO, 4L));
addTool(
ProspectorScannerLV.ID,
"Prospector's Scanner(LV)",
Expand Down Expand Up @@ -298,13 +288,6 @@ public void getDetravSubItems(Item item, CreativeTabs detravCreativeTab, List li
ItemStack dStack;
if (NewHorizonsCoreMod.isModLoaded()) {
// Materials at tiers
list.add(
getToolWithStats(
ProspectorScannerULV.ID,
1,
Materials.Polycaprolactam,
Materials.Polycaprolactam,
null));
list.add(getToolWithStats(ProspectorScannerLV.ID, 1, Materials.Steel, Materials.Steel, null));
list.add(getToolWithStats(ProspectorScannerLV.ID, 1, Materials.Bronze, Materials.Steel, null));
list.add(getToolWithStats(ProspectorScannerMV.ID, 1, Materials.Manyullyn, Materials.Aluminium, null));
Expand Down Expand Up @@ -346,7 +329,6 @@ public void getDetravSubItems(Item item, CreativeTabs detravCreativeTab, List li
}

// Steel for comparison
list.add(getToolWithStats(ProspectorScannerULV.ID, 1, Materials.Steel, Materials.Steel, null));
list.add(getToolWithStats(ProspectorScannerLV.ID, 1, Materials.Steel, Materials.Steel, null));
list.add(getToolWithStats(ProspectorScannerMV.ID, 1, Materials.Steel, Materials.Steel, null));
list.add(getToolWithStats(ProspectorScannerHV.ID, 1, Materials.Steel, Materials.Steel, null));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public class ProcessingDetravToolProspector implements gregtech.api.interfaces.IOreRecipeRegistrator {

public ProcessingDetravToolProspector() {

OrePrefixes.toolHeadDrill.add(this);
}

public void registerOre(OrePrefixes aPrefix, Materials material, String aOreDictName, String aModName,
Expand Down

0 comments on commit f15ecc1

Please sign in to comment.