Package net.minecraft.data.report
Record Class DataPackStructureProvider.Registries
java.lang.Object
java.lang.Record
net.minecraft.data.report.DataPackStructureProvider.Registries
- Record Components:
registries-others-
- Enclosing class:
DataPackStructureProvider
private static record DataPackStructureProvider.Registries(Map<RegistryKey<? extends Registry<?>>,DataPackStructureProvider.Entry> registries, Map<String,DataPackStructureProvider.FakeRegistry> others)
extends Record
- Mappings:
Namespace Name named net/minecraft/data/report/DataPackStructureProvider$Registriesintermediary net/minecraft/class_10107$class_10111official my$dnamed registriesintermediary comp_3074official bnamed othersintermediary comp_3075official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DataPackStructureProvider.Registries> private final Map<String, DataPackStructureProvider.FakeRegistry> The field for theothersrecord component.private final Map<RegistryKey<? extends Registry<?>>, DataPackStructureProvider.Entry> The field for theregistriesrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionRegistries(Map<RegistryKey<? extends Registry<?>>, DataPackStructureProvider.Entry> map, Map<String, DataPackStructureProvider.FakeRegistry> 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<?>>, DataPackStructureProvider.Entry> 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. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/data/report/DataPackStructureProvider$Registries;CODEC:Lcom/mojang/serialization/Codec;intermediary field_53713Lnet/minecraft/class_10107$class_10111;field_53713:Lcom/mojang/serialization/Codec;official aLmy$d;a:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
Registries
Registries(Map<RegistryKey<? extends Registry<?>>, DataPackStructureProvider.Entry> map, Map<String, DataPackStructureProvider.FakeRegistry> 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
-