From 79632b85a477cba0f7374294ff701366b16535ed Mon Sep 17 00:00:00 2001 From: YipKei <53115298+YipKei@users.noreply.github.com> Date: Sun, 7 Jul 2024 00:51:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=A0=B4=E5=9D=8F=E7=8E=8B?= =?UTF-8?q?=E4=B8=8D=E9=98=B2=E7=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/yipkei/vanilladdition/init/ModItems.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/yipkei/vanilladdition/init/ModItems.java b/src/main/java/com/yipkei/vanilladdition/init/ModItems.java index a4cb3f2..4f66ee0 100644 --- a/src/main/java/com/yipkei/vanilladdition/init/ModItems.java +++ b/src/main/java/com/yipkei/vanilladdition/init/ModItems.java @@ -40,7 +40,7 @@ public class ModItems { // 针对性挖掘镐 public static final Item GLASS_PICKAXE_PROTOTYPE = registerItems("glass_pickaxe_prototype", new AbstractPickaxeItem(ModToolMaterials.GLASS, ModTags.Blocks.NULL_BLOCK, 0, 300, ModToolMaterials.GLASS.getDurability(), (new Item.Settings()).attributeModifiers(AbstractPickaxeItem.createAttributeModifiers(ModToolMaterials.GLASS,0,-5f)))); public static final Item GLASS_PICKAXE = registerItems("glass_pickaxe", new AbstractPickaxeItem(ModToolMaterials.GLASS, ModTags.Blocks.OBSIDIAN,1200, 10, ModToolMaterials.GLASS.getDurability(), (new Item.Settings()).attributeModifiers(AbstractPickaxeItem.createAttributeModifiers(ModToolMaterials.GLASS,1,-2.8f)))); - public static final Item DESTROYER_PICKAXE = registerItems("destroyer_pickaxe", new AbstractPickaxeItem(ToolMaterials.NETHERITE, ModTags.Blocks.WORLD_DESTROYER,60, 1,2,(new Item.Settings()).attributeModifiers(AbstractPickaxeItem.createAttributeModifiers(ToolMaterials.NETHERITE,1,-2.8f)))); + public static final Item DESTROYER_PICKAXE = registerItems("destroyer_pickaxe", new AbstractPickaxeItem(ToolMaterials.NETHERITE, ModTags.Blocks.WORLD_DESTROYER,60, 1,2,(new Item.Settings()).fireproof().attributeModifiers(AbstractPickaxeItem.createAttributeModifiers(ToolMaterials.NETHERITE,1,-2.8f)))); public static final Item DIAMOND_FLINT = registerItems("diamond_flint", new FlintAndSteelItem(new Item.Settings().maxDamage(200))); public static final Item STEEL_SHEARS = registerItems("steel_shears", new ShearsItem(new Item.Settings().maxDamage(600)));