Class TimespaceOrbItem

All Implemented Interfaces:
ITranslatable, net.minecraft.world.flag.FeatureElement, net.minecraft.world.level.ItemLike, net.neoforged.neoforge.common.extensions.IItemExtension

public class TimespaceOrbItem extends TypeEnhancingItems
Created by Jay113355 on 10/20/2017.
  • Constructor Details

    • TimespaceOrbItem

      public TimespaceOrbItem(Element type, Supplier<Species> species)
      Constructs the held item with predefined and defined attributes.
      Parameters:
      type - Second type of move to boost.
      species - The Pokémon this can effect.
  • Method Details

    • modifyPowerAndAccuracyUser

      public int[] modifyPowerAndAccuracyUser(int[] modifiedMoveStats, PixelmonWrapper user, PixelmonWrapper target, Attack attack)
      Triggers before the holder uses a damaging attack.
      Overrides:
      modifyPowerAndAccuracyUser in class TypeEnhancingItems
      Parameters:
      modifiedMoveStats - The attack's power and accuracy.
      user - The attack's user.
      target - The attack's target.
      attack - The attack.
      Returns:
      The modified damage.
    • getSpecies

      public Species getSpecies()