public class ItemInteractionEvent
extends net.minecraftforge.eventbus.api.Event
Constructor and Description |
---|
ItemInteractionEvent(net.minecraft.entity.player.PlayerEntity player,
PixelmonEntity pixelmon,
net.minecraft.item.ItemStack item) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.item.Item |
getItem() |
net.minecraft.item.ItemStack |
getItemStack() |
PixelmonEntity |
getPixelmon() |
net.minecraft.entity.player.PlayerEntity |
getPlayer() |
Pokemon |
getPokemon() |
public ItemInteractionEvent(net.minecraft.entity.player.PlayerEntity player, PixelmonEntity pixelmon, net.minecraft.item.ItemStack item)
public net.minecraft.entity.player.PlayerEntity getPlayer()
public PixelmonEntity getPixelmon()
public Pokemon getPokemon()
public net.minecraft.item.ItemStack getItemStack()
public net.minecraft.item.Item getItem()