public static class PlayerEvent.ItemCraftedEvent extends PlayerEvent
PlayerEvent.BreakSpeed, PlayerEvent.Clone, PlayerEvent.HarvestCheck, PlayerEvent.ItemCraftedEvent, PlayerEvent.ItemPickupEvent, PlayerEvent.ItemSmeltedEvent, PlayerEvent.LoadFromFile, PlayerEvent.NameFormat, PlayerEvent.PlayerChangedDimensionEvent, PlayerEvent.PlayerLoggedInEvent, PlayerEvent.PlayerLoggedOutEvent, PlayerEvent.PlayerRespawnEvent, PlayerEvent.SaveToFile, PlayerEvent.StartTracking, PlayerEvent.StopTracking, PlayerEvent.Visibility
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing, EntityEvent.EyeHeight
Modifier and Type | Field and Description |
---|---|
private ItemStack |
crafting |
private IInventory |
craftMatrix |
Constructor and Description |
---|
ItemCraftedEvent(PlayerEntity player,
ItemStack crafting,
IInventory craftMatrix) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
getCrafting() |
IInventory |
getInventory() |
getPlayer
getEntityLiving
getEntity
@Nonnull private final ItemStack crafting
private final IInventory craftMatrix
public ItemCraftedEvent(PlayerEntity player, @Nonnull ItemStack crafting, IInventory craftMatrix)
@Nonnull public ItemStack getCrafting()
public IInventory getInventory()