Class ItemFormChangeEvent

java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.pokemon.ItemFormChangeEvent
All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent

public class ItemFormChangeEvent extends net.neoforged.bus.api.Event implements net.neoforged.bus.api.ICancellableEvent
  • Field Details

    • player

      public final net.minecraft.server.level.ServerPlayer player
    • item

      public final net.minecraft.world.item.ItemStack item
    • pokemon

      public final PixelmonEntity pokemon
    • isFusion

      public final boolean isFusion
    • fusion

      @Nullable public Pokemon fusion
  • Constructor Details

    • ItemFormChangeEvent

      public ItemFormChangeEvent(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.item.ItemStack item, PixelmonEntity pokemon, @Nullable Pokemon fusion)