Class EvioliteItem

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

public class EvioliteItem extends StatEnhancingItems
Increases the Defense and Special Defense of not-fully-evolved Pokémon by 50%.
  • Constructor Details

    • EvioliteItem

      public EvioliteItem()
      Initializes the Eviolite.
  • Method Details

    • canAffect

      protected boolean canAffect(PixelmonWrapper pokemon)
      Description copied from class: StatEnhancingItems
      Checks if the item affects the Pokémon.
      Overrides:
      canAffect in class StatEnhancingItems
      Parameters:
      pokemon - The Pokémon to check for the item affecting.
      Returns:
      Whether the item affects the Pokémon.