Class BerryMicleItem

All Implemented Interfaces:
ITranslatable, net.minecraft.world.flag.FeatureElement, net.minecraft.world.level.ItemLike, net.minecraftforge.common.extensions.IForgeItem, net.minecraftforge.common.IPlantable

public class BerryMicleItem extends BerryItem
Next move will have 20% extra accuracy when below 25% hp.
  • Constructor Details

    • BerryMicleItem

      public BerryMicleItem(net.minecraft.world.item.Item.Properties properties)
      Initializes the held item.
  • Method Details

    • modifyPowerAndAccuracyUser

      public int[] modifyPowerAndAccuracyUser(int[] modifiedMoveStats, PixelmonWrapper user, PixelmonWrapper target, Attack a)
      Description copied from class: HeldItem
      Modifies the power and accuracy of the Pokémon's attack.
      Overrides:
      modifyPowerAndAccuracyUser in class HeldItem
      Parameters:
      modifiedMoveStats - The attack's power and accuracy.
      user - The attack's user.
      target - The attack's target.
      a - The attack.
      Returns:
      The modified power and accuracy.