Class ItemFormChangeEvent
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.pokemon.ItemFormChangeEvent
- Direct Known Subclasses:
ItemFormChangeEvent.Post
,ItemFormChangeEvent.Pre
public abstract class ItemFormChangeEvent
extends net.neoforged.bus.api.Event
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ItemFormChangeEvent
(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.item.ItemStack item, PixelmonEntity pokemon) protected
ItemFormChangeEvent
(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.item.ItemStack item, PixelmonEntity pokemon, Pokemon fusion) -
Method Summary
-
Field Details
-
player
protected final net.minecraft.server.level.ServerPlayer player -
item
protected final net.minecraft.world.item.ItemStack item -
pokemon
-
isFusion
protected final boolean isFusion -
fusion
-
-
Constructor Details
-
ItemFormChangeEvent
protected ItemFormChangeEvent(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.item.ItemStack item, PixelmonEntity pokemon, @Nullable Pokemon fusion) -
ItemFormChangeEvent
protected ItemFormChangeEvent(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.item.ItemStack item, PixelmonEntity pokemon)
-
-
Method Details
-
getPlayer
public net.minecraft.server.level.ServerPlayer getPlayer() -
getItem
public net.minecraft.world.item.ItemStack getItem() -
getPokemon
-
isFusion
public boolean isFusion() -
getFusion
-