Record Class RpcDiscover.Components
java.lang.Object
java.lang.Record
net.minecraft.server.dedicated.management.RpcDiscover.Components
- Record Components:
schemas-
- Enclosing class:
RpcDiscover
- Mappings:
Namespace Name named net/minecraft/server/dedicated/management/RpcDiscover$Componentsintermediary net/minecraft/class_11839$class_11840official avo$anamed schemasintermediary comp_4712official b
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionComponents(Map<String, RpcSchema<?>> schemas) Creates an instance of aComponentsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.private static com.mojang.serialization.MapCodec<RpcDiscover.Components> schemas()Returns the value of theschemasrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
schemas
The field for theschemasrecord component. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/server/dedicated/management/RpcDiscover$Components;CODEC:Lcom/mojang/serialization/MapCodec;intermediary field_62396Lnet/minecraft/class_11839$class_11840;field_62396:Lcom/mojang/serialization/MapCodec;official aLavo$a;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
Components
Creates an instance of aComponentsrecord class.- Parameters:
schemas- the value for theschemasrecord component
-
-
Method Details
-
method_75592
- Mappings:
Namespace Name Mixin selector named method_75592Lnet/minecraft/server/dedicated/management/RpcDiscover$Components;method_75592()Lcom/mojang/serialization/MapCodec;intermediary method_75592Lnet/minecraft/class_11839$class_11840;method_75592()Lcom/mojang/serialization/MapCodec;official bLavo$a;b()Lcom/mojang/serialization/MapCodec;
-
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). -
schemas
Returns the value of theschemasrecord component.- Returns:
- the value of the
schemasrecord component
-