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$Registriesintermediary net/minecraft/class_7877$class_7878official kc$bnamed ownerintermediary comp_1135official anamed lookupintermediary comp_1136official bnamed registriesintermediary comp_1137official cnamed registeredValuesintermediary comp_1138official dnamed errorsintermediary comp_1139official e
-
Field Summary
FieldsModifier 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 Summary
ConstructorsModifierConstructorDescriptionprivateRegistries(RegistryBuilder.AnyOwner anyOwner, RegistryBuilder.StandAloneEntryCreatingLookup standAloneEntryCreatingLookup, Map<Identifier, RegistryEntryLookup<?>> map, Map<RegistryKey<?>, RegistryBuilder.RegisteredValue<?>> map2, List<RuntimeException> list) -
Method Summary
Modifier 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
-
owner
The field for theownerrecord component. -
lookup
The field for thelookuprecord component. -
registries
The field for theregistriesrecord component. -
registeredValues
The field for theregisteredValuesrecord component. -
errors
The field for theerrorsrecord component.
-
-
Constructor Details
-
Registries
private Registries(RegistryBuilder.AnyOwner anyOwner, RegistryBuilder.StandAloneEntryCreatingLookup standAloneEntryCreatingLookup, Map<Identifier, RegistryEntryLookup<?>> map, Map<RegistryKey<?>, RegistryBuilder.RegisteredValue<?>> map2, List<RuntimeException> list)
-
-
Method Details
-
of
public static RegistryBuilder.Registries of(DynamicRegistryManager dynamicRegistryManager, Stream<RegistryKey<? extends Registry<?>>> registryRefs) - Mappings:
Namespace Name Mixin selector named ofLnet/minecraft/registry/RegistryBuilder$Registries;of(Lnet/minecraft/registry/DynamicRegistryManager;Ljava/util/stream/Stream;)Lnet/minecraft/registry/RegistryBuilder$Registries;intermediary method_46796Lnet/minecraft/class_7877$class_7878;method_46796(Lnet/minecraft/class_5455;Ljava/util/stream/Stream;)Lnet/minecraft/class_7877$class_7878;official aLkc$b;a(Lka;Ljava/util/stream/Stream;)Lkc$b;
-
createRegisterable
- Mappings:
Namespace Name Mixin selector named createRegisterableLnet/minecraft/registry/RegistryBuilder$Registries;createRegisterable()Lnet/minecraft/registry/Registerable;intermediary method_46787Lnet/minecraft/class_7877$class_7878;method_46787()Lnet/minecraft/class_7891;official aLkc$b;a()Lqq;
-
checkOrphanedValues
public void checkOrphanedValues()- Mappings:
Namespace Name Mixin selector named checkOrphanedValuesLnet/minecraft/registry/RegistryBuilder$Registries;checkOrphanedValues()Vintermediary method_55298Lnet/minecraft/class_7877$class_7878;method_55298()Vofficial bLkc$b;b()V
-
checkUnreferencedKeys
public void checkUnreferencedKeys()- Mappings:
Namespace Name Mixin selector named checkUnreferencedKeysLnet/minecraft/registry/RegistryBuilder$Registries;checkUnreferencedKeys()Vintermediary method_55299Lnet/minecraft/class_7877$class_7878;method_55299()Vofficial cLkc$b;c()V
-
throwErrors
public void throwErrors()- Mappings:
Namespace Name Mixin selector named throwErrorsLnet/minecraft/registry/RegistryBuilder$Registries;throwErrors()Vintermediary method_46798Lnet/minecraft/class_7877$class_7878;method_46798()Vofficial dLkc$b;d()V
-
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). -
owner
Returns the value of theownerrecord component.- Returns:
- the value of the
ownerrecord component
-
lookup
Returns the value of thelookuprecord component.- Returns:
- the value of the
lookuprecord component
-
registries
Returns the value of theregistriesrecord component.- Returns:
- the value of the
registriesrecord component
-
registeredValues
Returns the value of theregisteredValuesrecord component.- Returns:
- the value of the
registeredValuesrecord component
-
errors
Returns the value of theerrorsrecord component.- Returns:
- the value of the
errorsrecord component
-