Class PlayerClientOptionsChangeEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
com.destroystokyo.paper.event.player.PlayerClientOptionsChangeEvent

@NullMarked public class PlayerClientOptionsChangeEvent extends PlayerEvent
Called when the player changes their client settings
Since:
1.15.2
  • Constructor Details

  • Method Details

    • getLocale

      public String getLocale()
      Since:
      1.15.2
    • hasLocaleChanged

      public boolean hasLocaleChanged()
      Since:
      1.15.2
    • getViewDistance

      public int getViewDistance()
      Since:
      1.15.2
    • hasViewDistanceChanged

      public boolean hasViewDistanceChanged()
      Since:
      1.15.2
    • getChatVisibility

      public ClientOption.ChatVisibility getChatVisibility()
      Since:
      1.15.2
    • hasChatVisibilityChanged

      public boolean hasChatVisibilityChanged()
      Since:
      1.15.2
    • hasChatColorsEnabled

      public boolean hasChatColorsEnabled()
      Since:
      1.15.2
    • hasChatColorsEnabledChanged

      public boolean hasChatColorsEnabledChanged()
      Since:
      1.15.2
    • getSkinParts

      public SkinParts getSkinParts()
      Since:
      1.15.2
    • hasSkinPartsChanged

      public boolean hasSkinPartsChanged()
      Since:
      1.15.2
    • getMainHand

      public MainHand getMainHand()
      Since:
      1.15.2
    • hasMainHandChanged

      public boolean hasMainHandChanged()
      Since:
      1.15.2
    • hasTextFilteringEnabled

      public boolean hasTextFilteringEnabled()
      Since:
      1.19.2
    • hasTextFilteringChanged

      public boolean hasTextFilteringChanged()
      Since:
      1.19.2
    • allowsServerListings

      public boolean allowsServerListings()
      Since:
      1.19.2
    • hasAllowServerListingsChanged

      public boolean hasAllowServerListingsChanged()
      Since:
      1.19.2
    • getParticleVisibility

      public ClientOption.ParticleVisibility getParticleVisibility()
      Since:
      1.21.3
    • hasParticleVisibilityChanged

      public boolean hasParticleVisibilityChanged()
      Since:
      1.21.3
    • getHandlers

      public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
      Since:
      1.15.2
    • getHandlerList

      public static HandlerList getHandlerList()
      Since:
      1.15.2