Package net.minecraft
Record Class class_11849.class_11852
java.lang.Object
java.lang.Record
net.minecraft.class_11849.class_11852
- Record Components:
ip-reason-source-expires-
- Enclosing class:
class_11849
public static record class_11849.class_11852(String ip, Optional<String> reason, Optional<String> source, Optional<Instant> expires)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_11849$class_11852intermediary net/minecraft/class_11849$class_11852official avf$cnamed ipintermediary comp_4733official bnamed reasonintermediary comp_4734official cnamed sourceintermediary comp_4735official dnamed expiresintermediary comp_4736official e
-
Field Summary
Fields -
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.private static class_11849.class_11852method_73903(class_11849.class_11851 class_11851) static class_11849.class_11852method_73904(BannedIpEntry bannedIpEntry) private class_11849.class_11851reason()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
-
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_62407
- Mappings:
Namespace Name Mixin selector named field_62407Lnet/minecraft/class_11849$class_11852;field_62407:Lcom/mojang/serialization/MapCodec;intermediary field_62407Lnet/minecraft/class_11849$class_11852;field_62407:Lcom/mojang/serialization/MapCodec;official aLavf$c;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_11852
-
-
Method Details
-
method_73903
- Mappings:
Namespace Name Mixin selector named method_73903Lnet/minecraft/class_11849$class_11852;method_73903(Lnet/minecraft/class_11849$class_11851;)Lnet/minecraft/class_11849$class_11852;intermediary method_73903Lnet/minecraft/class_11849$class_11852;method_73903(Lnet/minecraft/class_11849$class_11851;)Lnet/minecraft/class_11849$class_11852;official aLavf$c;a(Lavf$b;)Lavf$c;
-
method_73904
- Mappings:
Namespace Name Mixin selector named method_73904Lnet/minecraft/class_11849$class_11852;method_73904(Lnet/minecraft/server/BannedIpEntry;)Lnet/minecraft/class_11849$class_11852;intermediary method_73904Lnet/minecraft/class_11849$class_11852;method_73904(Lnet/minecraft/class_3320;)Lnet/minecraft/class_11849$class_11852;official aLavf$c;a(Lbav;)Lavf$c;
-
method_73906
- Mappings:
Namespace Name Mixin selector named method_73906Lnet/minecraft/class_11849$class_11852;method_73906()Lnet/minecraft/class_11849$class_11851;intermediary method_73906Lnet/minecraft/class_11849$class_11852;method_73906()Lnet/minecraft/class_11849$class_11851;official eLavf$c;e()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). -
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
-