Skip to content

Commit

Permalink
it's finally done
Browse files Browse the repository at this point in the history
  • Loading branch information
RealRainbuu committed Nov 22, 2023
1 parent 7186c2c commit 352be6d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/main/java/owmii/powah/armor/ArmorEffectsHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

@Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.FORGE, modid = Powah.MOD_ID)
public class ArmorEffectsHandler {
private static AttributeModifier armorHealthModifier = new AttributeModifier(UUID.randomUUID(), "powahArmorHealthModifier", 10, Operation.ADDITION);
private static AttributeModifier armorHealthModifier = new AttributeModifier(UUID.randomUUID(), "powahArmorHealthModifier", 20, Operation.ADDITION);
private static final LinkedHashMap<String, ArmorEffect> HANDLERS = new LinkedHashMap<>();
static {
HANDLERS.put("starter", new ArmorEffect(player -> {getArmorData(player).putBoolean("isThunderImmune", true);}, player -> {getArmorData(player).putBoolean("isThunderImmune", false);}));
Expand Down
16 changes: 8 additions & 8 deletions src/main/java/owmii/powah/armor/ModArmorMaterial.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,31 @@

public enum ModArmorMaterial implements IArmorMaterial {

ARMOR_STARTER("energized_armor_starter", 7, new int[] { 2, 4, 5, 2 }, 12,
ARMOR_STARTER("energized_armor_starter", -1, new int[] { 2, 4, 5, 2 }, 12,
SoundEvents.ITEM_ARMOR_EQUIP_IRON, 1.0f, 0.0f, () -> Ingredient.fromItems(Itms.ENERGIZED_STEEL)
),

ARMOR_BASIC("energized_armor_basic", 7, new int[] { 2, 5, 6, 2}, 12,
ARMOR_BASIC("energized_armor_basic", -1, new int[] { 2, 5, 6, 2}, 12,
SoundEvents.ITEM_ARMOR_EQUIP_IRON, 1.0f, 0.0f, () -> Ingredient.fromItems(Itms.ENERGIZED_STEEL)
),
ARMOR_HARDENED("energized_armor_hardened", 7, new int[] { 2, 6, 6, 2 }, 12,
ARMOR_HARDENED("energized_armor_hardened", -1, new int[] { 2, 6, 6, 2 }, 12,
SoundEvents.ITEM_ARMOR_EQUIP_IRON, 1.0f, 0.0f, () -> Ingredient.fromItems(Itms.ENERGIZED_STEEL)
),

ARMOR_BLAZING("energized_armor_blazing", 7, new int[] { 2, 7, 6, 2}, 12,
ARMOR_BLAZING("energized_armor_blazing", -1, new int[] { 2, 7, 6, 2}, 12,
SoundEvents.ITEM_ARMOR_EQUIP_IRON, 1.0f, 0.0f, () -> Ingredient.fromItems(Itms.ENERGIZED_STEEL)
),
ARMOR_NIOTIC("energized_armor_niotic", 7, new int[] { 3, 7, 6, 2 }, 12,
ARMOR_NIOTIC("energized_armor_niotic", -1, new int[] { 3, 7, 6, 2 }, 12,
SoundEvents.ITEM_ARMOR_EQUIP_IRON, 1.0f, 0.0f, () -> Ingredient.fromItems(Itms.ENERGIZED_STEEL)
),

ARMOR_SPIRITED("energized_armor_spirited", 7, new int[] { 3, 8, 6, 3}, 12,
ARMOR_SPIRITED("energized_armor_spirited", -1, new int[] { 3, 8, 6, 3}, 12,
SoundEvents.ITEM_ARMOR_EQUIP_IRON, 1.0f, 0.0f, () -> Ingredient.fromItems(Itms.ENERGIZED_STEEL)
),
ARMOR_NITRO("energized_armor_nitro", 7, new int[] { 3, 8, 6, 3}, 12,
ARMOR_NITRO("energized_armor_nitro", -1, new int[] { 3, 8, 6, 3}, 12,
SoundEvents.ITEM_ARMOR_EQUIP_IRON, 1.0f, 0.0f, () -> Ingredient.fromItems(Itms.ENERGIZED_STEEL)
),
ARMOR_OVERCHARGED("energized_armor_overcharged", 7, new int[] { 4, 9, 7, 4}, 12,
ARMOR_OVERCHARGED("energized_armor_overcharged", -1, new int[] { 4, 9, 7, 4}, 12,
SoundEvents.ITEM_ARMOR_EQUIP_IRON, 1.0f, 0.0f, () -> Ingredient.fromItems(Itms.ENERGIZED_STEEL)
);

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/assets/powah/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"armor_effect.powah.blazing": "Jump boost",
"armor_effect.powah.niotic": "Water breathing",
"armor_effect.powah.spirited": "Night vision",
"armor_effect.powah.nitro": "Health boost",
"armor_effect.powah.nitro": "10 extra hearts",
"armor_effect.powah.overcharged": "Creative flight",

"item.powah.steel_energized": "Energized Steel",
Expand Down

0 comments on commit 352be6d

Please sign in to comment.