Class WrapperCommonClientSettings<T extends WrapperCommonClientSettings<T>>

java.lang.Object
com.github.retrooper.packetevents.wrapper.PacketWrapper<T>
com.github.retrooper.packetevents.wrapper.common.client.WrapperCommonClientSettings<T>
Direct Known Subclasses:
WrapperConfigClientSettings, WrapperPlayClientSettings

public class WrapperCommonClientSettings<T extends WrapperCommonClientSettings<T>> extends PacketWrapper<T>
  • Constructor Details

  • Method Details

    • read

      public void read()
      Overrides:
      read in class PacketWrapper<T extends WrapperCommonClientSettings<T>>
    • write

      public void write()
      Overrides:
      write in class PacketWrapper<T extends WrapperCommonClientSettings<T>>
    • copy

      public void copy(T wrapper)
      Overrides:
      copy in class PacketWrapper<T extends WrapperCommonClientSettings<T>>
    • getLocale

      public String getLocale()
    • setLocale

      public void setLocale(String locale)
    • getViewDistance

      public int getViewDistance()
    • setViewDistance

      public void setViewDistance(int viewDistance)
    • getChatVisibility

      public WrapperCommonClientSettings.ChatVisibility getChatVisibility()
    • setChatVisibility

      public void setChatVisibility(WrapperCommonClientSettings.ChatVisibility chatVisibility)
    • isChatColors

      public boolean isChatColors()
    • setChatColors

      public void setChatColors(boolean chatColors)
    • getSkinMask

      public byte getSkinMask()
    • setSkinMask

      public void setSkinMask(byte skinMask)
    • getVisibleSkinSection

      public SkinSection getVisibleSkinSection()
    • setVisibleSkinSections

      public void setVisibleSkinSections(SkinSection visibleSkinSection)
    • isSkinSectionVisible

      public boolean isSkinSectionVisible(SkinSection section)
    • setSkinSectionVisible

      public void setSkinSectionVisible(SkinSection section, boolean visible)
    • getMainHand

      public HumanoidArm getMainHand()
    • setMainHand

      public void setMainHand(HumanoidArm mainHand)
    • isTextFilteringEnabled

      public boolean isTextFilteringEnabled()
    • setTextFilteringEnabled

      public void setTextFilteringEnabled(boolean textFilteringEnabled)
    • isServerListingAllowed

      public boolean isServerListingAllowed()
    • setServerListingAllowed

      public void setServerListingAllowed(boolean allowServerListings)
    • getParticleStatus

      public WrapperCommonClientSettings.ParticleStatus getParticleStatus()
    • setParticleStatus

      public void setParticleStatus(WrapperCommonClientSettings.ParticleStatus particleStatus)
    • getIgnoredDifficulty

      @Obsolete public byte getIgnoredDifficulty()
      Removed with 1.8
    • setIgnoredDifficulty

      @Obsolete public void setIgnoredDifficulty(byte ignoredDifficulty)
      Removed with 1.8