Skip to content

Commit

Permalink
Obtain markerItem of mallets and plungers from its own get method
Browse files Browse the repository at this point in the history
  • Loading branch information
littlecube8152 committed Jan 6, 2025
1 parent 05e56fc commit 9127765
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/gregtech/common/items/ToolItems.java
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public static void init() {
.sound(GTSoundEvents.SOFT_MALLET_TOOL)
.symbol('r')
.toolClasses(ToolClasses.SOFT_MALLET)
.markerItem(() -> ToolHelper.getAndSetToolData(SOFT_MALLET, Materials.Wood, 47, 1, 4F, 1F)));
.markerItem(() -> SOFT_MALLET.get(Materials.Wood)));
MINING_HAMMER = register(ItemGTTool.Builder.of(GTValues.MODID, "mining_hammer")
.toolStats(b -> b.blockBreaking().aoe(1, 1, 0)
.efficiencyMultiplier(0.4F).attackDamage(1.5F).attackSpeed(-3.2F)
Expand Down Expand Up @@ -321,7 +321,7 @@ public static void init() {
.sound(GTSoundEvents.PLUNGER_TOOL)
.oreDict(ToolOreDict.toolPlunger)
.toolClasses(ToolClasses.PLUNGER)
.markerItem(() -> ToolHelper.getAndSetToolData(PLUNGER, Materials.Rubber, 255, 1, 4F, 0F)));
.markerItem(() -> PLUNGER.get(Materials.Rubber)));
WIRECUTTER_LV = register(ItemGTTool.Builder.of(GTValues.MODID, "wire_cutter_lv")
.toolStats(b -> b.blockBreaking().crafting().damagePerCraftingAction(4)
.efficiencyMultiplier(2.0F)
Expand Down

0 comments on commit 9127765

Please sign in to comment.