Package net.minecraftforge.event
Class GrindstoneEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.GrindstoneEvent
- Direct Known Subclasses:
- GrindstoneEvent.OnPlaceItem,- GrindstoneEvent.OnTakeItem
public abstract class GrindstoneEvent
extends net.minecraftforge.eventbus.api.Event
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classThis event isCancelable
 GrindstoneEvent.OnPlaceItemis fired when the inputs to a grindstone are changed.static classThis event isCancelable
 GrindstoneEvent.OnTakeItemis fired when the output in a grindstone are is taken.Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Eventnet.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class net.minecraftforge.eventbus.api.EventgetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
- 
Field Details- 
top
- 
bottom
- 
xpprivate int xp
 
- 
- 
Constructor Details- 
GrindstoneEvent
 
- 
- 
Method Details- 
getTopItem- Returns:
- The item in the top input grindstone slot. 
 
- 
getBottomItem- Returns:
- The item in the bottom input grindstone slot. 
 
- 
getXppublic int getXp()- Returns:
- The experience amount given to the player. 
 
- 
setXppublic void setXp(int xp) Sets the experience amount.- Parameters:
- xp- The experience amount given to the player.
 
 
-