Package net.minecraft
Record Class class_10107.class_10111
java.lang.Object
java.lang.Record
net.minecraft.class_10107.class_10111
- Record Components:
registries-others-
- Enclosing class:
class_10107
private static record class_10107.class_10111(Map<RegistryKey<? extends Registry<?>>,class_10107.class_10109> registries, Map<String,class_10107.class_10108> others)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_10107$class_10111intermediary net/minecraft/class_10107$class_10111official mr$dnamed registriesintermediary comp_3074official bnamed othersintermediary comp_3075official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<class_10107.class_10111> private final Map<String, class_10107.class_10108> The field for theothersrecord component.private final Map<RegistryKey<? extends Registry<?>>, class_10107.class_10109> The field for theregistriesrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_10111(Map<RegistryKey<? extends Registry<?>>, class_10107.class_10109> map, Map<String, class_10107.class_10108> map2) -
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.others()Returns the value of theothersrecord component.Map<RegistryKey<? extends Registry<?>>, class_10107.class_10109> Returns the value of theregistriesrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
registries
The field for theregistriesrecord component. -
others
The field for theothersrecord component. -
field_53713
- Mappings:
Namespace Name Mixin selector named field_53713Lnet/minecraft/class_10107$class_10111;field_53713:Lcom/mojang/serialization/Codec;intermediary field_53713Lnet/minecraft/class_10107$class_10111;field_53713:Lcom/mojang/serialization/Codec;official aLmr$d;a:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_10111
class_10111(Map<RegistryKey<? extends Registry<?>>, class_10107.class_10109> map, Map<String, class_10107.class_10108> map2)
-
-
Method Details
-
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). -
registries
Returns the value of theregistriesrecord component.- Returns:
- the value of the
registriesrecord component
-
others
Returns the value of theothersrecord component.- Returns:
- the value of the
othersrecord component
-