Class TimespaceOrbItem

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

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 pokemon this can effect.
  • Method Details

    • getRarity

      public net.minecraft.world.item.Rarity getRarity(net.minecraft.world.item.ItemStack p_41461_)
      Overrides:
      getRarity in class net.minecraft.world.item.Item
    • preProcessDamagingAttackUser

      public double preProcessDamagingAttackUser(PixelmonWrapper attacker, PixelmonWrapper target, Attack attack, double damage)
      Triggers before the holder uses a damaging attack.
      Overrides:
      preProcessDamagingAttackUser in class TypeEnhancingItems
      Parameters:
      attacker - The attack's user.
      target - The attack's target.
      attack - The attack.
      damage - The damage to be dealt.
      Returns:
      The modified damage.
    • getSpecies

      public Species getSpecies()