Package net.minecraft
Record Class class_11835.class_11837
java.lang.Object
java.lang.Record
net.minecraft.class_11835.class_11837
- Record Components:
player-reason-source-expires-
- Enclosing class:
class_11835
public static record class_11835.class_11837(class_11819 player, Optional<String> reason, Optional<String> source, Optional<Instant> expires)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_11835$class_11837intermediary net/minecraft/class_11835$class_11837official auz$bnamed playerintermediary comp_4707official bnamed reasonintermediary comp_4708official cnamed sourceintermediary comp_4709official dnamed expiresintermediary comp_4710official e
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe field for theexpiresrecord component.static final com.mojang.serialization.MapCodec<class_11835.class_11837> private final class_11819The field for theplayerrecord component.The field for thereasonrecord component.The field for thesourcerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_11837(class_11819 class_11819, Optional<String> optional, Optional<String> optional2, Optional<Instant> optional3) -
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.private static class_11835.class_11837method_73858(class_11835.class_11836 class_11836) private class_11835.class_11836method_73859(PlayerConfigEntry playerConfigEntry) static class_11835.class_11837method_73860(BannedPlayerEntry bannedPlayerEntry) player()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. -
reason
The field for thereasonrecord component. -
source
The field for thesourcerecord component. -
expires
The field for theexpiresrecord component. -
field_62394
- Mappings:
Namespace Name Mixin selector named field_62394Lnet/minecraft/class_11835$class_11837;field_62394:Lcom/mojang/serialization/MapCodec;intermediary field_62394Lnet/minecraft/class_11835$class_11837;field_62394:Lcom/mojang/serialization/MapCodec;official aLauz$b;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_11837
-
-
Method Details
-
method_73858
- Mappings:
Namespace Name Mixin selector named method_73858Lnet/minecraft/class_11835$class_11837;method_73858(Lnet/minecraft/class_11835$class_11836;)Lnet/minecraft/class_11835$class_11837;intermediary method_73858Lnet/minecraft/class_11835$class_11837;method_73858(Lnet/minecraft/class_11835$class_11836;)Lnet/minecraft/class_11835$class_11837;official aLauz$b;a(Lauz$a;)Lauz$b;
-
method_73860
- Mappings:
Namespace Name Mixin selector named method_73860Lnet/minecraft/class_11835$class_11837;method_73860(Lnet/minecraft/server/BannedPlayerEntry;)Lnet/minecraft/class_11835$class_11837;intermediary method_73860Lnet/minecraft/class_11835$class_11837;method_73860(Lnet/minecraft/class_3336;)Lnet/minecraft/class_11835$class_11837;official aLauz$b;a(Lbbg;)Lauz$b;
-
method_73859
- Mappings:
Namespace Name Mixin selector named method_73859Lnet/minecraft/class_11835$class_11837;method_73859(Lnet/minecraft/server/PlayerConfigEntry;)Lnet/minecraft/class_11835$class_11836;intermediary method_73859Lnet/minecraft/class_11835$class_11837;method_73859(Lnet/minecraft/class_11560;)Lnet/minecraft/class_11835$class_11836;official aLauz$b;a(Lbaw;)Lauz$a;
-
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
-
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
-