Class FloatStoneItem

java.lang.Object
net.minecraft.world.item.Item
com.pixelmonmod.pixelmon.items.PixelmonItem
com.pixelmonmod.pixelmon.items.HeldItem
com.pixelmonmod.pixelmon.items.heldItems.FloatStoneItem
All Implemented Interfaces:
ITranslatable, net.minecraft.world.flag.FeatureElement, net.minecraft.world.level.ItemLike, net.minecraftforge.common.extensions.IForgeItem

public class FloatStoneItem extends HeldItem
Halves the holder's weight.
  • Constructor Details

    • FloatStoneItem

      public FloatStoneItem()
      Initializes the item.
  • Method Details

    • modifyWeight

      public float modifyWeight(float initWeight)
      Description copied from class: HeldItem
      Modifies the Pokémon's weight.
      Overrides:
      modifyWeight in class HeldItem
      Parameters:
      initWeight - The Pokémon's weight.
      Returns:
      The modified weight.