public abstract class TurtleEvent
extends net.minecraftforge.fml.common.eventhandler.Event
ITurtleAccess
are safe to use.
You should generally not need to subscribe to this event, preferring one of the more specific classes.TurtleActionEvent
Modifier | Constructor and Description |
---|---|
protected |
TurtleEvent(ITurtleAccess turtle) |
Modifier and Type | Method and Description |
---|---|
ITurtleAccess |
getTurtle()
Get the turtle which is performing this action.
|
protected TurtleEvent(@Nonnull ITurtleAccess turtle)
@Nonnull public ITurtleAccess getTurtle()