Skip to content

Commit

Permalink
Update ModItems.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Gu-ZT committed Mar 24, 2024
1 parent f84e92a commit 9023d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/dev/dubhe/anvilcraft/init/ModItems.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public void appendHoverText(ItemStack stack, @Nullable Level level, List<Compone
return stack;
}
}, defaultProperties());
public static final Item AMETHYST_SHOVEL = registerItem("amethyst_shovel", properties -> new ShovelItem(ModTiers.AMETHYST, 1.5, -3.0f, properties) {
public static final Item AMETHYST_SHOVEL = registerItem("amethyst_shovel", properties -> new ShovelItem(ModTiers.AMETHYST, 1.5f, -3.0f, properties) {
@Override
public @NotNull ItemStack getDefaultInstance() {
ItemStack stack = super.getDefaultInstance();
Expand Down

0 comments on commit 9023d35

Please sign in to comment.