public static class MechanicalAnvilEvent.SetStack extends MechanicalAnvilEvent
MechanicalAnvilEvent
subclass fired when an item is added to a Mechanical Anvil.MechanicalAnvilEvent.Hammer, MechanicalAnvilEvent.HammerResult, MechanicalAnvilEvent.RemoveStack, MechanicalAnvilEvent.SetStack, MechanicalAnvilEvent.Tick
anvil
Constructor and Description |
---|
SetStack(TileEntityMechanicalAnvil anvil,
net.minecraft.item.ItemStack itemstack,
int slotIndex) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.item.ItemStack |
getItem() |
int |
getSlotIndex()
Gets the slot index in the anvil.
|
public SetStack(TileEntityMechanicalAnvil anvil, net.minecraft.item.ItemStack itemstack, int slotIndex)