Class ItemFormChangeEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.pokemon.ItemFormChangeEvent

public class ItemFormChangeEvent extends net.minecraftforge.eventbus.api.Event
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event

    net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
    final boolean
     
    final net.minecraft.world.item.ItemStack
     
    final net.minecraft.server.level.ServerPlayer
     
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ItemFormChangeEvent(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.item.ItemStack item, PixelmonEntity pokemon, Pokemon fusion)
     
  • Method Summary

    Methods inherited from class net.minecraftforge.eventbus.api.Event

    getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)