public class PlayerMouseMotionEvent extends PlayerEvent
Event fired when playermousemotion occurs. Listen for this event using EventBus.register.
java.lang.Object > PlayerEvent > PlayerMouseMotionEvent
Field Summary
cancelled
private
boolean
cancelled
Field cancelled.
Method Detail
PlayerMouseMotionEvent
public
public
PlayerMouseMotionEvent
(@Nonnull final Ref ref, @Nonnull final Player player, final long clientUseTime, final Item itemInHand, final Vector3i targetBlock, final Entity targetEntity, final Vector2f screenPoint, final MouseMotionEvent mouseMotion)
Method PlayerMouseMotionEvent.
- Parameters:
@Nonnull final Refref@Nonnull final Playerplayerfinal longclientUseTimefinal ItemitemInHandfinal Vector3itargetBlockfinal EntitytargetEntityfinal Vector2fscreenPointfinal MouseMotionEventmouseMotion
isCancelled
public
boolean
isCancelled
()
Method isCancelled.
setCancelled
public
void
setCancelled
(final boolean cancelled)
Method setCancelled.
- Parameters:
final booleancancelled
getClientUseTime
public
long
getClientUseTime
()
Method getClientUseTime.
toString
public
String
toString
()
Method toString.