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$Registries
intermediary net/minecraft/class_10107$class_10111
official mz$d
named registries
intermediary comp_3074
official b
named others
intermediary comp_3075
official c
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<DataPackStructureProvider.Registries> private final Map
<String, DataPackStructureProvider.FakeRegistry> The field for theothers
record component.private final Map
<RegistryKey<? extends Registry<?>>, DataPackStructureProvider.Entry> The field for theregistries
record component. -
Constructor Summary
ConstructorDescriptionRegistries
(Map<RegistryKey<? extends Registry<?>>, DataPackStructureProvider.Entry> map, Map<String, DataPackStructureProvider.FakeRegistry> map2) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.others()
Returns the value of theothers
record component.Map
<RegistryKey<? extends Registry<?>>, DataPackStructureProvider.Entry> Returns the value of theregistries
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
registries
The field for theregistries
record component. -
others
The field for theothers
record component. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/data/report/DataPackStructureProvider$Registries;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_53713
Lnet/minecraft/class_10107$class_10111;field_53713:Lcom/mojang/serialization/Codec;
official a
Lmz$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 theregistries
record component.- Returns:
- the value of the
registries
record component
-
others
Returns the value of theothers
record component.- Returns:
- the value of the
others
record component
-