public abstract class AnvilEvent
extends net.minecraftforge.fml.common.eventhandler.Event
AnvilEvent.BeatAnvil
, AnvilEvent.HammerDamage
, AnvilEvent.MaterialChanged
, and AnvilEvent.FinishedSmith
Modifier and Type | Class and Description |
---|---|
static class |
AnvilEvent.BeatAnvil
AnvilEvent subclass fired when an anvil is beaten with a hammer. |
static class |
AnvilEvent.FinishedSmith
AnvilEvent subclass event fired when an item on an anvil reaches the completed stage |
static class |
AnvilEvent.HammerDamage
AnvilEvent subclass for calculating the damage to be dealt to the hammer upon incrementing the anvil item's stage. |
static class |
AnvilEvent.MaterialChanged
AnvilEvent subclass event fired when a material is placed on or taken from an anvil. |
Modifier and Type | Field and Description |
---|---|
TileEntityAnvil |
anvil
The anvil tile entity being interacted with
|
net.minecraft.entity.player.EntityPlayerMP |
player
The player interacting with the anvil
|
public final net.minecraft.entity.player.EntityPlayerMP player
public final TileEntityAnvil anvil