类 GrindstoneEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.GrindstoneEvent
public abstract class GrindstoneEvent
extends net.minecraftforge.eventbus.api.Event
-
嵌套类概要
嵌套类修饰符和类型类说明static class
This event isCancelable
GrindstoneEvent.OnPlaceItem
is fired when the inputs to a grindstone are changed.static class
This event isCancelable
GrindstoneEvent.OnTakeItem
is fired when the output in a grindstone are is taken.从类继承的嵌套类/接口 net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
从类继承的方法 net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
字段详细资料
-
top
-
bottom
-
xp
private int xp
-
-
构造器详细资料
-
GrindstoneEvent
-
-
方法详细资料
-
getTopItem
- 返回:
- The item in the top input grindstone slot.
-
getBottomItem
- 返回:
- The item in the bottom input grindstone slot.
-
getXp
public int getXp()- 返回:
- The experience amount given to the player.
-
setXp
public void setXp(int xp) Sets the experience amount.- 参数:
xp
- The experience amount given to the player.
-