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 akgintermediary net/minecraft/class_8791named net/minecraft/class_8791official bintermediary comp_1951named languageofficial cintermediary comp_1952named viewDistanceofficial dintermediary comp_1953named chatVisibilityofficial eintermediary comp_1954named chatColorsofficial fintermediary comp_1955named modelCustomisationofficial gintermediary comp_1956named mainHandofficial hintermediary comp_1957named textFilteringEnabledofficial iintermediary comp_1958named allowsListing
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanThe field for theallowsListingrecord component.private final booleanThe field for thechatColorsrecord component.private final ChatVisibilityThe field for thechatVisibilityrecord component.static final intprivate final StringThe field for thelanguagerecord component.private final ArmThe field for themainHandrecord component.private final intThe field for themodelCustomisationrecord component.private final booleanThe field for thetextFilteringEnabledrecord component.private final intThe field for theviewDistancerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_8791(String string, int int2, ChatVisibility chatVisibility, boolean bool, int int3, Arm arm, boolean bool2, boolean bool3) class_8791(PacketByteBuf packetByteBuf) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theallowsListingrecord component.booleanReturns the value of thechatColorsrecord component.Returns the value of thechatVisibilityrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.language()Returns the value of thelanguagerecord component.mainHand()Returns the value of themainHandrecord component.static class_8791voidmethod_53822(PacketByteBuf packetByteBuf) intReturns the value of themodelCustomisationrecord component.booleanReturns the value of thetextFilteringEnabledrecord component.final StringtoString()Returns a string representation of this record class.intReturns the value of theviewDistancerecord component.
-
Field Details
-
language
The field for thelanguagerecord component. -
viewDistance
private final int viewDistanceThe field for theviewDistancerecord component. -
chatVisibility
The field for thechatVisibilityrecord component. -
chatColors
private final boolean chatColorsThe field for thechatColorsrecord component. -
modelCustomisation
private final int modelCustomisationThe field for themodelCustomisationrecord component. -
mainHand
The field for themainHandrecord component. -
textFilteringEnabled
private final boolean textFilteringEnabledThe field for thetextFilteringEnabledrecord component. -
allowsListing
private final boolean allowsListingThe field for theallowsListingrecord component. -
field_46155
public static final int field_46155- See Also:
- Mappings:
Namespace Name Mixin selector official aLakg;a:Iintermediary field_46155Lnet/minecraft/class_8791;field_46155:Inamed field_46155Lnet/minecraft/class_8791;field_46155:I
-
-
Constructor Details
-
class_8791
-
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
- Mappings:
Namespace Name Mixin selector official aLakg;a(Lso;)Vintermediary method_53822Lnet/minecraft/class_8791;method_53822(Lnet/minecraft/class_2540;)Vnamed method_53822Lnet/minecraft/class_8791;method_53822(Lnet/minecraft/network/PacketByteBuf;)V
-
method_53821
- Mappings:
Namespace Name Mixin selector official aLakg;a()Lakg;intermediary method_53821Lnet/minecraft/class_8791;method_53821()Lnet/minecraft/class_8791;named method_53821Lnet/minecraft/class_8791;method_53821()Lnet/minecraft/class_8791;
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
language
Returns the value of thelanguagerecord component.- Returns:
- the value of the
languagerecord component
-
viewDistance
public int viewDistance()Returns the value of theviewDistancerecord component.- Returns:
- the value of the
viewDistancerecord component
-
chatVisibility
Returns the value of thechatVisibilityrecord component.- Returns:
- the value of the
chatVisibilityrecord component
-
chatColors
public boolean chatColors()Returns the value of thechatColorsrecord component.- Returns:
- the value of the
chatColorsrecord component
-
modelCustomisation
public int modelCustomisation()Returns the value of themodelCustomisationrecord component.- Returns:
- the value of the
modelCustomisationrecord component
-
mainHand
Returns the value of themainHandrecord component.- Returns:
- the value of the
mainHandrecord component
-
textFilteringEnabled
public boolean textFilteringEnabled()Returns the value of thetextFilteringEnabledrecord component.- Returns:
- the value of the
textFilteringEnabledrecord component
-
allowsListing
public boolean allowsListing()Returns the value of theallowsListingrecord component.- Returns:
- the value of the
allowsListingrecord component
-