Class ServerAttachParrotsEvent

All Implemented Interfaces:
org.geysermc.event.Cancellable, org.geysermc.event.Event

public abstract class ServerAttachParrotsEvent extends SessionSpawnEntityEvent
Called when the Java server attaches parrots to a player.
  • Constructor Details

    • ServerAttachParrotsEvent

      public ServerAttachParrotsEvent(GeyserConnection connection)
  • Method Details

    • player

      public abstract GeyserPlayerEntity player()
      Returns:
      the player with bird friends
    • variant

      public abstract int variant()
      Returns:
      the parrot variant
    • right

      public abstract boolean right()
      Returns:
      true if parrot is on the right shoulder, left otherwise