public static class PokestopEvent.Interact extends PokestopEvent
PokestopEvent.Collide, PokestopEvent.Interact
Constructor and Description |
---|
Interact(EntityPokestop pokestop,
net.minecraft.entity.player.EntityPlayer player,
boolean rightClick) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.entity.player.EntityPlayer |
getPlayer() |
boolean |
wasLeftClick() |
boolean |
wasRightClick() |
getPokestop
public Interact(EntityPokestop pokestop, net.minecraft.entity.player.EntityPlayer player, boolean rightClick)
public net.minecraft.entity.player.EntityPlayer getPlayer()
public boolean wasRightClick()
public boolean wasLeftClick()