Record Class IpBansRpcDispatcher.class_11852
java.lang.Object
java.lang.Record
net.minecraft.server.dedicated.management.dispatch.IpBansRpcDispatcher.class_11852
- Record Components:
ipAddress-reason-source-expires-
- Enclosing class:
IpBansRpcDispatcher
public static record IpBansRpcDispatcher.class_11852(String ipAddress, Optional<String> reason, Optional<String> source, Optional<Instant> expires)
extends Record
- Mappings:
Namespace Name named net/minecraft/server/dedicated/management/dispatch/IpBansRpcDispatcher$class_11852intermediary net/minecraft/class_11849$class_11852official avf$cnamed ipAddressintermediary comp_4733official bnamed reasonintermediary comp_4734official cnamed sourceintermediary comp_4735official dnamed expiresintermediary comp_4736official e
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe field for theexpiresrecord component.static final com.mojang.serialization.MapCodec<IpBansRpcDispatcher.class_11852> private final StringThe field for theipAddressrecord 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.Returns the value of theipAddressrecord component.private static IpBansRpcDispatcher.class_11852method_73903(IpBansRpcDispatcher.class_11851 class_11851) method_73904(BannedIpEntry bannedIpEntry) private IpBansRpcDispatcher.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
-
ipAddress
The field for theipAddressrecord 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/server/dedicated/management/dispatch/IpBansRpcDispatcher$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
private static IpBansRpcDispatcher.class_11852 method_73903(IpBansRpcDispatcher.class_11851 class_11851) - Mappings:
Namespace Name Mixin selector named method_73903Lnet/minecraft/server/dedicated/management/dispatch/IpBansRpcDispatcher$class_11852;method_73903(Lnet/minecraft/server/dedicated/management/dispatch/IpBansRpcDispatcher$class_11851;)Lnet/minecraft/server/dedicated/management/dispatch/IpBansRpcDispatcher$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/server/dedicated/management/dispatch/IpBansRpcDispatcher$class_11852;method_73904(Lnet/minecraft/server/BannedIpEntry;)Lnet/minecraft/server/dedicated/management/dispatch/IpBansRpcDispatcher$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/server/dedicated/management/dispatch/IpBansRpcDispatcher$class_11852;method_73906()Lnet/minecraft/server/dedicated/management/dispatch/IpBansRpcDispatcher$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). -
ipAddress
Returns the value of theipAddressrecord component.- Returns:
- the value of the
ipAddressrecord 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
-