Package net.minecraft
Record Class class_11861.class_11863
java.lang.Object
java.lang.Record
net.minecraft.class_11861.class_11863
- Record Components:
message-overlay-receivingPlayers-
- Enclosing class:
class_11861
public static record class_11861.class_11863(class_11853 message, boolean overlay, Optional<List<class_11819>> receivingPlayers)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_11861$class_11863intermediary net/minecraft/class_11861$class_11863official avl$bnamed messageintermediary comp_4751official bnamed overlayintermediary comp_4752official cnamed receivingPlayersintermediary comp_4753official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<class_11861.class_11863> private final class_11853The field for themessagerecord component.private final booleanThe field for theoverlayrecord component.private final Optional<List<class_11819>> The field for thereceivingPlayersrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_11863(class_11853 class_11853, boolean bool, Optional<List<class_11819>> optional) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.booleanoverlay()Returns the value of theoverlayrecord component.Returns the value of thereceivingPlayersrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
message
The field for themessagerecord component. -
overlay
private final boolean overlayThe field for theoverlayrecord component. -
receivingPlayers
The field for thereceivingPlayersrecord component. -
field_62416
- Mappings:
Namespace Name Mixin selector named field_62416Lnet/minecraft/class_11861$class_11863;field_62416:Lcom/mojang/serialization/Codec;intermediary field_62416Lnet/minecraft/class_11861$class_11863;field_62416:Lcom/mojang/serialization/Codec;official aLavl$b;a:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_11863
-
-
Method Details
-
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 '=='. -
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-
overlay
public boolean overlay()Returns the value of theoverlayrecord component.- Returns:
- the value of the
overlayrecord component
-
receivingPlayers
Returns the value of thereceivingPlayersrecord component.- Returns:
- the value of the
receivingPlayersrecord component
-