Package net.minecraft.registry
Record Class RegistryBuilder.Registries
java.lang.Object
java.lang.Record
net.minecraft.registry.RegistryBuilder.Registries
- Record Components:
- owner-
- lookup-
- registries-
- registeredValues-
- errors-
- Enclosing class:
- RegistryBuilder
private static record RegistryBuilder.Registries(RegistryBuilder.AnyOwner owner, RegistryBuilder.StandAloneEntryCreatingLookup lookup, Map<Identifier,RegistryEntryLookup<?>> registries, Map<RegistryKey<?>,RegistryBuilder.RegisteredValue<?>> registeredValues, List<RuntimeException> errors)
extends Record  
- Mappings:
- Namespace - Name - named - net/minecraft/registry/RegistryBuilder$Registries- intermediary - net/minecraft/class_7877$class_7878- official - kh$b- named - owner- intermediary - comp_1135- official - a- named - lookup- intermediary - comp_1136- official - b- named - registries- intermediary - comp_1137- official - c- named - registeredValues- intermediary - comp_1138- official - d- named - errors- intermediary - comp_1139- official - e
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final List<RuntimeException> The field for theerrorsrecord component.private final RegistryBuilder.StandAloneEntryCreatingLookupThe field for thelookuprecord component.private final RegistryBuilder.AnyOwnerThe field for theownerrecord component.private final Map<RegistryKey<?>, RegistryBuilder.RegisteredValue<?>> The field for theregisteredValuesrecord component.private final Map<Identifier, RegistryEntryLookup<?>> The field for theregistriesrecord component.
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprivateRegistries(RegistryBuilder.AnyOwner anyOwner, RegistryBuilder.StandAloneEntryCreatingLookup standAloneEntryCreatingLookup, Map<Identifier, RegistryEntryLookup<?>> map, Map<RegistryKey<?>, RegistryBuilder.RegisteredValue<?>> map2, List<RuntimeException> list) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoid<T> Registerable<T> final booleanIndicates whether some other object is "equal to" this one.errors()Returns the value of theerrorsrecord component.final inthashCode()Returns a hash code value for this object.lookup()Returns the value of thelookuprecord component.static RegistryBuilder.Registriesof(DynamicRegistryManager dynamicRegistryManager, Stream<RegistryKey<? extends Registry<?>>> registryRefs) owner()Returns the value of theownerrecord component.Returns the value of theregisteredValuesrecord component.Returns the value of theregistriesrecord component.voidfinal StringtoString()Returns a string representation of this record class.
- 
Field Details- 
ownerThe field for theownerrecord component.
- 
lookupThe field for thelookuprecord component.
- 
registriesThe field for theregistriesrecord component.
- 
registeredValuesThe field for theregisteredValuesrecord component.
- 
errorsThe field for theerrorsrecord component.
 
- 
- 
Constructor Details- 
Registriesprivate Registries(RegistryBuilder.AnyOwner anyOwner, RegistryBuilder.StandAloneEntryCreatingLookup standAloneEntryCreatingLookup, Map<Identifier, RegistryEntryLookup<?>> map, Map<RegistryKey<?>, RegistryBuilder.RegisteredValue<?>> map2, List<RuntimeException> list) 
 
- 
- 
Method Details- 
ofpublic static RegistryBuilder.Registries of(DynamicRegistryManager dynamicRegistryManager, Stream<RegistryKey<? extends Registry<?>>> registryRefs) - Mappings:
- Namespace - Name - Mixin selector - named - of- Lnet/minecraft/registry/RegistryBuilder$Registries;of(Lnet/minecraft/registry/DynamicRegistryManager;Ljava/util/stream/Stream;)Lnet/minecraft/registry/RegistryBuilder$Registries;- intermediary - method_46796- Lnet/minecraft/class_7877$class_7878;method_46796(Lnet/minecraft/class_5455;Ljava/util/stream/Stream;)Lnet/minecraft/class_7877$class_7878;- official - a- Lkh$b;a(Lkf;Ljava/util/stream/Stream;)Lkh$b;
 
- 
createRegisterable- Mappings:
- Namespace - Name - Mixin selector - named - createRegisterable- Lnet/minecraft/registry/RegistryBuilder$Registries;createRegisterable()Lnet/minecraft/registry/Registerable;- intermediary - method_46787- Lnet/minecraft/class_7877$class_7878;method_46787()Lnet/minecraft/class_7891;- official - a- Lkh$b;a()Lqe;
 
- 
checkOrphanedValuespublic void checkOrphanedValues()- Mappings:
- Namespace - Name - Mixin selector - named - checkOrphanedValues- Lnet/minecraft/registry/RegistryBuilder$Registries;checkOrphanedValues()V- intermediary - method_55298- Lnet/minecraft/class_7877$class_7878;method_55298()V- official - b- Lkh$b;b()V
 
- 
checkUnreferencedKeyspublic void checkUnreferencedKeys()- Mappings:
- Namespace - Name - Mixin selector - named - checkUnreferencedKeys- Lnet/minecraft/registry/RegistryBuilder$Registries;checkUnreferencedKeys()V- intermediary - method_55299- Lnet/minecraft/class_7877$class_7878;method_55299()V- official - c- Lkh$b;c()V
 
- 
throwErrorspublic void throwErrors()- Mappings:
- Namespace - Name - Mixin selector - named - throwErrors- Lnet/minecraft/registry/RegistryBuilder$Registries;throwErrors()V- intermediary - method_46798- Lnet/minecraft/class_7877$class_7878;method_46798()V- official - d- Lkh$b;d()V
 
- 
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).
- 
ownerReturns the value of theownerrecord component.- Returns:
- the value of the ownerrecord component
 
- 
lookupReturns the value of thelookuprecord component.- Returns:
- the value of the lookuprecord component
 
- 
registriesReturns the value of theregistriesrecord component.- Returns:
- the value of the registriesrecord component
 
- 
registeredValuesReturns the value of theregisteredValuesrecord component.- Returns:
- the value of the registeredValuesrecord component
 
- 
errorsReturns the value of theerrorsrecord component.- Returns:
- the value of the errorsrecord component
 
 
-