Skip to content

Commit

Permalink
Add rarities to Netherite Apples
Browse files Browse the repository at this point in the history
  • Loading branch information
SLH335 committed Sep 3, 2023
1 parent e1cc3df commit f0b8ee9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/xyz/hafemann/netheriteextras/item/ModItems.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class ModItems {
.statusEffect(new StatusEffectInstance(StatusEffects.REGENERATION, 200, 1), 1.0F)
.statusEffect(new StatusEffectInstance(StatusEffects.FIRE_RESISTANCE, 3000, 0), 1.0F)
.statusEffect(new StatusEffectInstance(StatusEffects.ABSORPTION, 2400, 2), 1.0F)
.alwaysEdible().build()).fireproof()));
.alwaysEdible().build()).rarity(Rarity.RARE).fireproof()));
public static final Item ENCHANTED_NETHERITE_APPLE = registerItem("enchanted_netherite_apple",
new EnchantedGoldenAppleItem(new Item.Settings().food((new FoodComponent.Builder()).hunger(6).saturationModifier(1.2F)
.statusEffect(new StatusEffectInstance(StatusEffects.REGENERATION, 800, 2), 1.0F)
Expand All @@ -30,7 +30,7 @@ public class ModItems {
.statusEffect(new StatusEffectInstance(StatusEffects.ABSORPTION, 4800, 5), 1.0F)
.statusEffect(new StatusEffectInstance(StatusEffects.SPEED, 200, 1), 1.0F)
.statusEffect(new StatusEffectInstance(StatusEffects.STRENGTH, 200, 1), 1.0F)
.alwaysEdible().build()).fireproof()));
.alwaysEdible().build()).rarity(Rarity.EPIC).fireproof()));
public static final Item TOTEM_OF_NEVERDYING = registerItem("totem_of_neverdying",
new Item(new Item.Settings().maxCount(1).maxDamage(4).rarity(Rarity.UNCOMMON).fireproof()));

Expand Down

0 comments on commit f0b8ee9

Please sign in to comment.