Package net.minecraft

Record Class class_8791

java.lang.Object
java.lang.Record
net.minecraft.class_8791
Record Components:
language -
viewDistance -
chatVisibility -
chatColors -
modelCustomisation -
mainHand -
textFilteringEnabled -
allowsListing -

public record class_8791(String language, int viewDistance, ChatVisibility chatVisibility, boolean chatColors, int modelCustomisation, Arm mainHand, boolean textFilteringEnabled, boolean allowsListing) extends Record
Mappings:
Namespace Name
official akg
intermediary net/minecraft/class_8791
named net/minecraft/class_8791
official b
intermediary comp_1951
named language
official c
intermediary comp_1952
named viewDistance
official d
intermediary comp_1953
named chatVisibility
official e
intermediary comp_1954
named chatColors
official f
intermediary comp_1955
named modelCustomisation
official g
intermediary comp_1956
named mainHand
official h
intermediary comp_1957
named textFilteringEnabled
official i
intermediary comp_1958
named allowsListing
  • Field Details

    • language

      private final String language
      The field for the language record component.
    • viewDistance

      private final int viewDistance
      The field for the viewDistance record component.
    • chatVisibility

      private final ChatVisibility chatVisibility
      The field for the chatVisibility record component.
    • chatColors

      private final boolean chatColors
      The field for the chatColors record component.
    • modelCustomisation

      private final int modelCustomisation
      The field for the modelCustomisation record component.
    • mainHand

      private final Arm mainHand
      The field for the mainHand record component.
    • textFilteringEnabled

      private final boolean textFilteringEnabled
      The field for the textFilteringEnabled record component.
    • allowsListing

      private final boolean allowsListing
      The field for the allowsListing record component.
    • field_46155

      public static final int field_46155
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lakg;a:I
      intermediary field_46155 Lnet/minecraft/class_8791;field_46155:I
      named field_46155 Lnet/minecraft/class_8791;field_46155:I
  • Constructor Details

    • class_8791

      public class_8791(PacketByteBuf packetByteBuf)
    • class_8791

      public class_8791(String string, int int2, ChatVisibility chatVisibility, boolean bool, int int3, Arm arm, boolean bool2, boolean bool3)
  • Method Details

    • method_53822

      public void method_53822(PacketByteBuf packetByteBuf)
      Mappings:
      Namespace Name Mixin selector
      official a Lakg;a(Lso;)V
      intermediary method_53822 Lnet/minecraft/class_8791;method_53822(Lnet/minecraft/class_2540;)V
      named method_53822 Lnet/minecraft/class_8791;method_53822(Lnet/minecraft/network/PacketByteBuf;)V
    • method_53821

      public static class_8791 method_53821()
      Mappings:
      Namespace Name Mixin selector
      official a Lakg;a()Lakg;
      intermediary method_53821 Lnet/minecraft/class_8791;method_53821()Lnet/minecraft/class_8791;
      named method_53821 Lnet/minecraft/class_8791;method_53821()Lnet/minecraft/class_8791;
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • language

      public String language()
      Returns the value of the language record component.
      Returns:
      the value of the language record component
    • viewDistance

      public int viewDistance()
      Returns the value of the viewDistance record component.
      Returns:
      the value of the viewDistance record component
    • chatVisibility

      public ChatVisibility chatVisibility()
      Returns the value of the chatVisibility record component.
      Returns:
      the value of the chatVisibility record component
    • chatColors

      public boolean chatColors()
      Returns the value of the chatColors record component.
      Returns:
      the value of the chatColors record component
    • modelCustomisation

      public int modelCustomisation()
      Returns the value of the modelCustomisation record component.
      Returns:
      the value of the modelCustomisation record component
    • mainHand

      public Arm mainHand()
      Returns the value of the mainHand record component.
      Returns:
      the value of the mainHand record component
    • textFilteringEnabled

      public boolean textFilteringEnabled()
      Returns the value of the textFilteringEnabled record component.
      Returns:
      the value of the textFilteringEnabled record component
    • allowsListing

      public boolean allowsListing()
      Returns the value of the allowsListing record component.
      Returns:
      the value of the allowsListing record component