public static class MechanicalAnvilEvent.HammerResult extends MechanicalAnvilEvent
MechanicalAnvilEvent
subclass fired when a Mechanical Anvil produces a result.
The result ItemStack is mutable.MechanicalAnvilEvent.Hammer, MechanicalAnvilEvent.HammerResult, MechanicalAnvilEvent.RemoveStack, MechanicalAnvilEvent.SetStack, MechanicalAnvilEvent.Tick
Modifier and Type | Field and Description |
---|---|
net.minecraft.item.ItemStack |
result
The resulting item.
|
anvil
Constructor and Description |
---|
HammerResult(TileEntityMechanicalAnvil anvil,
net.minecraft.item.ItemStack result) |
public HammerResult(TileEntityMechanicalAnvil anvil, net.minecraft.item.ItemStack result)