Package net.minecraft
Record Class class_11849.class_11851
java.lang.Object
java.lang.Record
net.minecraft.class_11849.class_11851
- Record Components:
ip-reason-source-expires-
- Enclosing class:
class_11849
private static record class_11849.class_11851(String ip, String reason, String source, Optional<Instant> expires)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_11849$class_11851intermediary net/minecraft/class_11849$class_11851official avf$bnamed ipintermediary comp_4729official anamed reasonintermediary comp_4730official bnamed sourceintermediary comp_4731official cnamed expiresintermediary comp_4732official d
-
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.(package private) static class_11849.class_11851method_73901(BannedIpEntry bannedIpEntry) (package private) BannedIpEntryreason()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_11851
-
-
Method Details
-
method_73901
- Mappings:
Namespace Name Mixin selector named method_73901Lnet/minecraft/class_11849$class_11851;method_73901(Lnet/minecraft/server/BannedIpEntry;)Lnet/minecraft/class_11849$class_11851;intermediary method_73901Lnet/minecraft/class_11849$class_11851;method_73901(Lnet/minecraft/class_3320;)Lnet/minecraft/class_11849$class_11851;official aLavf$b;a(Lbav;)Lavf$b;
-
method_73902
BannedIpEntry method_73902()- Mappings:
Namespace Name Mixin selector named method_73902Lnet/minecraft/class_11849$class_11851;method_73902()Lnet/minecraft/server/BannedIpEntry;intermediary method_73902Lnet/minecraft/class_11849$class_11851;method_73902()Lnet/minecraft/class_3320;official eLavf$b;e()Lbav;
-
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
-