Package net.minecraft
Record Class class_11849.class_11850
java.lang.Object
java.lang.Record
net.minecraft.class_11849.class_11850
- Record Components:
player-ip-reason-source-expires-
- Enclosing class:
class_11849
public static record class_11849.class_11850(Optional<class_11819> player, Optional<String> ip, Optional<String> reason, Optional<String> source, Optional<Instant> expires)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_11849$class_11850intermediary net/minecraft/class_11849$class_11850official avf$anamed playerintermediary comp_4724official bnamed ipintermediary comp_4725official cnamed reasonintermediary comp_4726official dnamed sourceintermediary comp_4727official enamed expiresintermediary comp_4728official f
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe field for theexpiresrecord component.static final com.mojang.serialization.MapCodec<class_11849.class_11850> The field for theiprecord component.private final Optional<class_11819> The field for theplayerrecord component.The field for thereasonrecord component.The field for thesourcerecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.expires()Returns the value of theexpiresrecord component.final inthashCode()Returns a hash code value for this object.ip()Returns the value of theiprecord component.(package private) class_11849.class_11851method_73898(ServerPlayerEntity serverPlayerEntity) (package private) @Nullable class_11849.class_11851player()Returns the value of theplayerrecord component.reason()Returns the value of thereasonrecord component.source()Returns the value of thesourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
player
The field for theplayerrecord component. -
ip
The field for theiprecord component. -
reason
The field for thereasonrecord component. -
source
The field for thesourcerecord component. -
expires
The field for theexpiresrecord component. -
field_62406
- Mappings:
Namespace Name Mixin selector named field_62406Lnet/minecraft/class_11849$class_11850;field_62406:Lcom/mojang/serialization/MapCodec;intermediary field_62406Lnet/minecraft/class_11849$class_11850;field_62406:Lcom/mojang/serialization/MapCodec;official aLavf$a;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_11850
-
-
Method Details
-
method_73898
- Mappings:
Namespace Name Mixin selector named method_73898Lnet/minecraft/class_11849$class_11850;method_73898(Lnet/minecraft/server/network/ServerPlayerEntity;)Lnet/minecraft/class_11849$class_11851;intermediary method_73898Lnet/minecraft/class_11849$class_11850;method_73898(Lnet/minecraft/class_3222;)Lnet/minecraft/class_11849$class_11851;official aLavf$a;a(Lawt;)Lavf$b;
-
method_73900
- Mappings:
Namespace Name Mixin selector named method_73900Lnet/minecraft/class_11849$class_11850;method_73900()Lnet/minecraft/class_11849$class_11851;intermediary method_73900Lnet/minecraft/class_11849$class_11850;method_73900()Lnet/minecraft/class_11849$class_11851;official fLavf$a;f()Lavf$b;
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
player
Returns the value of theplayerrecord component.- Returns:
- the value of the
playerrecord component
-
ip
Returns the value of theiprecord component.- Returns:
- the value of the
iprecord component
-
reason
Returns the value of thereasonrecord component.- Returns:
- the value of the
reasonrecord component
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
expires
Returns the value of theexpiresrecord component.- Returns:
- the value of the
expiresrecord component
-