Skip to content

Commit

Permalink
Armors Done
Browse files Browse the repository at this point in the history
  • Loading branch information
Starexify committed Sep 1, 2024
1 parent 096968c commit 495af9e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/java/net/nova/hexxit_gear/init/HGArmorMaterial.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
public class HGArmorMaterial {
public static final DeferredRegister<ArmorMaterial> ARMOR_MATERIALS = DeferredRegister.create(Registries.ARMOR_MATERIAL, MODID);

public static final Holder<SoundEvent> ARMOR_EQUIP_BONE_BLOCK = BuiltInRegistries.SOUND_EVENT.wrapAsHolder(SoundEvents.BONE_BLOCK_PLACE);

public static Holder<ArmorMaterial> SCALE = ARMOR_MATERIALS.register("scale", () -> new ArmorMaterial(Util.make(new EnumMap<>(ArmorItem.Type.class), map -> {
map.put(ArmorItem.Type.BOOTS, 3);
map.put(ArmorItem.Type.LEGGINGS, 6);
Expand All @@ -40,7 +38,7 @@ public class HGArmorMaterial {
map.put(ArmorItem.Type.CHESTPLATE, 8);
map.put(ArmorItem.Type.HELMET, 2);
map.put(ArmorItem.Type.BODY, 10);
}), 18, ARMOR_EQUIP_BONE_BLOCK, () -> Ingredient.of(HGItems.HEXICAL_DIAMOND),
}), 18, SoundEvents.ARMOR_EQUIP_IRON, () -> Ingredient.of(HGItems.HEXICAL_DIAMOND),
List.of(new ArmorMaterial.Layer(
HexxitGearR.rl("tribal")
)), 1F, 0F
Expand Down

0 comments on commit 495af9e

Please sign in to comment.