public abstract class TurtlePlayerEvent extends TurtleActionEvent
getPlayer()
may be used to modify the player's attributes or perform permission checks.Modifier | Constructor and Description |
---|---|
protected |
TurtlePlayerEvent(ITurtleAccess turtle,
TurtleAction action,
net.minecraftforge.common.util.FakePlayer player) |
Modifier and Type | Method and Description |
---|---|
net.minecraftforge.common.util.FakePlayer |
getPlayer()
A fake player, representing this turtle.
|
getAction, getFailureMessage, setCanceled, setCanceled
getTurtle
protected TurtlePlayerEvent(@Nonnull ITurtleAccess turtle, @Nonnull TurtleAction action, @Nonnull net.minecraftforge.common.util.FakePlayer player)