Package net.minecraft
Record Class class_11835.class_11836
java.lang.Object
java.lang.Record
net.minecraft.class_11835.class_11836
- Record Components:
player-reason-source-expires-
- Enclosing class:
class_11835
private static record class_11835.class_11836(PlayerConfigEntry player, String reason, String source, Optional<Instant> expires)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_11835$class_11836intermediary net/minecraft/class_11835$class_11836official auz$anamed playerintermediary comp_4703official anamed reasonintermediary comp_4704official bnamed sourceintermediary comp_4705official cnamed expiresintermediary comp_4706official d
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionclass_11836(PlayerConfigEntry playerConfigEntry, String string, String string2, Optional<Instant> optional) -
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.(package private) static class_11835.class_11836method_73856(BannedPlayerEntry bannedPlayerEntry) (package private) BannedPlayerEntryplayer()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
-
Constructor Details
-
class_11836
class_11836(PlayerConfigEntry playerConfigEntry, String string, String string2, Optional<Instant> optional)
-
-
Method Details
-
method_73856
- Mappings:
Namespace Name Mixin selector named method_73856Lnet/minecraft/class_11835$class_11836;method_73856(Lnet/minecraft/server/BannedPlayerEntry;)Lnet/minecraft/class_11835$class_11836;intermediary method_73856Lnet/minecraft/class_11835$class_11836;method_73856(Lnet/minecraft/class_3336;)Lnet/minecraft/class_11835$class_11836;official aLauz$a;a(Lbbg;)Lauz$a;
-
method_73857
BannedPlayerEntry method_73857()- Mappings:
Namespace Name Mixin selector named method_73857Lnet/minecraft/class_11835$class_11836;method_73857()Lnet/minecraft/server/BannedPlayerEntry;intermediary method_73857Lnet/minecraft/class_11835$class_11836;method_73857()Lnet/minecraft/class_3336;official eLauz$a;e()Lbbg;
-
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
-