From 1576428367605011152bf2de4f93435970eacc7c Mon Sep 17 00:00:00 2001 From: Raycoms Date: Mon, 11 Nov 2024 19:10:08 +0100 Subject: [PATCH] fix armor layers 10428 --- .../initializer/ModItemsInitializer.java | 20 ++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/minecolonies/apiimp/initializer/ModItemsInitializer.java b/src/main/java/com/minecolonies/apiimp/initializer/ModItemsInitializer.java index c2583f7a7fd..3c7939d2173 100755 --- a/src/main/java/com/minecolonies/apiimp/initializer/ModItemsInitializer.java +++ b/src/main/java/com/minecolonies/apiimp/initializer/ModItemsInitializer.java @@ -380,7 +380,9 @@ public static void init(final Registry registry) 500, SoundEvents.ARMOR_EQUIP_LEATHER, () -> Ingredient.EMPTY, - List.of(), + List.of( + new ArmorMaterial.Layer(ResourceLocation.fromNamespaceAndPath(Constants.MOD_ID,"santa_hat"), "", true) + ), 0, 0 )); @@ -396,7 +398,9 @@ public static void init(final Registry registry) 37, SoundEvents.ARMOR_EQUIP_IRON, () -> Ingredient.of(Items.IRON_INGOT), - List.of(), + List.of( + new ArmorMaterial.Layer(ResourceLocation.fromNamespaceAndPath(Constants.MOD_ID,"plate_armor"), "", true) + ), 0, 0 )); @@ -412,7 +416,9 @@ public static void init(final Registry registry) 20, SoundEvents.ARMOR_EQUIP_LEATHER, () -> Ingredient.EMPTY, - List.of(), + List.of( + new ArmorMaterial.Layer(ResourceLocation.fromNamespaceAndPath(Constants.MOD_ID,"build_goggles"), "", true) + ), 0, 0 )); @@ -428,7 +434,9 @@ public static void init(final Registry registry) 5, SoundEvents.ARMOR_EQUIP_LEATHER, () -> Ingredient.of(Items.DIAMOND), - List.of(), + List.of( + new ArmorMaterial.Layer(ResourceLocation.fromNamespaceAndPath(Constants.MOD_ID,"pirate"), "", true) + ), 0, 0 )); @@ -444,7 +452,9 @@ public static void init(final Registry registry) 5, SoundEvents.ARMOR_EQUIP_LEATHER, () -> Ingredient.of(Items.DIAMOND), - List.of(), + List.of( + new ArmorMaterial.Layer(ResourceLocation.fromNamespaceAndPath(Constants.MOD_ID, "pirate2"), "", true) + ), 2, 0 ));