public class AnvilRepairEvent extends PlayerEvent
PlayerEvent.BreakSpeed, PlayerEvent.Clone, PlayerEvent.HarvestCheck, PlayerEvent.LoadFromFile, PlayerEvent.NameFormat, PlayerEvent.SaveToFile, PlayerEvent.StartTracking, PlayerEvent.StopTracking, PlayerEvent.VisibilityLivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEventEntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructingEvent.HasResult, Event.Result| Constructor and Description | 
|---|
AnvilRepairEvent(EntityPlayer player,
                ItemStack left,
                ItemStack right,
                ItemStack output)  | 
| Modifier and Type | Method and Description | 
|---|---|
float | 
getBreakChance()  | 
ItemStack | 
getIngredientInput()
Get the second item input into the anvil 
 | 
ItemStack | 
getItemInput()
Get the first item input into the anvil 
 | 
ItemStack | 
getItemResult()
Get the output result from the anvil 
 | 
ItemStack | 
getLeft()
Deprecated.  
 | 
ItemStack | 
getOutput()
Deprecated.  
 | 
ItemStack | 
getRight()
Deprecated.  
 | 
void | 
setBreakChance(float breakChance)  | 
getEntityPlayergetEntityLivinggetEntitygetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic AnvilRepairEvent(EntityPlayer player, ItemStack left, ItemStack right, ItemStack output)
@Deprecated public ItemStack getLeft()
getItemInput() - this is actually the output slot of the anvil@Deprecated public ItemStack getRight()
getIngredientInput()} - this is actually the first input slot of the anvil@Deprecated public ItemStack getOutput()
getItemResult() - this is actually the second input slot of the anvilpublic ItemStack getItemResult()
public ItemStack getItemInput()
public ItemStack getIngredientInput()
public float getBreakChance()
public void setBreakChance(float breakChance)