Package net.minecraft.data.report
Record Class DataPackStructureProvider.FakeRegistry
java.lang.Object
java.lang.Record
net.minecraft.data.report.DataPackStructureProvider.FakeRegistry
- Record Components:
- format-
- entry-
- Enclosing class:
- DataPackStructureProvider
private static record DataPackStructureProvider.FakeRegistry(DataPackStructureProvider.Format format, DataPackStructureProvider.Entry entry)
extends Record
- Mappings:
- Namespace - Name - named - net/minecraft/data/report/DataPackStructureProvider$FakeRegistry- intermediary - net/minecraft/class_10107$class_10108- official - my$a- named - format- intermediary - comp_3069- official - b- named - entry- intermediary - comp_3070- official - c
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DataPackStructureProvider.FakeRegistry> private final DataPackStructureProvider.EntryThe field for theentryrecord component.private final DataPackStructureProvider.FormatThe field for theformatrecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionCreates an instance of aFakeRegistryrecord class.
- 
Method SummaryModifier and TypeMethodDescriptionentry()Returns the value of theentryrecord component.final booleanIndicates whether some other object is "equal to" this one.format()Returns the value of theformatrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
formatThe field for theformatrecord component.
- 
entryThe field for theentryrecord component.
- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/data/report/DataPackStructureProvider$FakeRegistry;CODEC:Lcom/mojang/serialization/Codec;- intermediary - field_53705- Lnet/minecraft/class_10107$class_10108;field_53705:Lcom/mojang/serialization/Codec;- official - a- Lmy$a;a:Lcom/mojang/serialization/Codec;
 
 
- 
- 
Constructor Details- 
FakeRegistryFakeRegistry(DataPackStructureProvider.Format format, DataPackStructureProvider.Entry entry) Creates an instance of aFakeRegistryrecord class.
 
- 
- 
Method Details- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
formatReturns the value of theformatrecord component.- Returns:
- the value of the formatrecord component
 
- 
entryReturns the value of theentryrecord component.- Returns:
- the value of the entryrecord component
 
 
-