Package net.minecraft.registry
Record Class RegistryLoader.class_9158<T>
java.lang.Object
java.lang.Record
net.minecraft.registry.RegistryLoader.class_9158<T>
- Record Components:
data
-registry
-loadingErrors
-
- Enclosing class:
RegistryLoader
private static record RegistryLoader.class_9158<T>(RegistryLoader.Entry<T> data, MutableRegistry<T> registry, Map<RegistryKey<?>,Exception> loadingErrors)
extends Record
- Mappings:
Namespace Name official ait$a
intermediary net/minecraft/class_7655$class_9158
named net/minecraft/registry/RegistryLoader$class_9158
official a
intermediary comp_2245
named data
official b
intermediary comp_2246
named registry
official c
intermediary comp_2247
named loadingErrors
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RegistryLoader.Entry<T>
The field for thedata
record component.private final Map<RegistryKey<?>,
Exception> The field for theloadingErrors
record component.private final MutableRegistry<T>
The field for theregistry
record component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_9158
(RegistryLoader.Entry<T> entry, MutableRegistry<T> mutableRegistry, Map<RegistryKey<?>, Exception> map) -
Method Summary
Modifier and TypeMethodDescriptiondata()
Returns the value of thedata
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Map<RegistryKey<?>,
Exception> Returns the value of theloadingErrors
record component.void
method_56520
(ResourceManager resourceManager, RegistryOps.RegistryInfoGetter registryInfoGetter) void
method_56521
(Map<RegistryKey<? extends Registry<?>>, List<SerializableRegistries.class_9176>> map, RegistryOps.RegistryInfoGetter registryInfoGetter) registry()
Returns the value of theregistry
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
data
The field for thedata
record component. -
registry
The field for theregistry
record component. -
loadingErrors
The field for theloadingErrors
record component.
-
-
Constructor Details
-
class_9158
class_9158(RegistryLoader.Entry<T> entry, MutableRegistry<T> mutableRegistry, Map<RegistryKey<?>, Exception> map)
-
-
Method Details
-
method_56520
public void method_56520(ResourceManager resourceManager, RegistryOps.RegistryInfoGetter registryInfoGetter) - Mappings:
Namespace Name Mixin selector official a
Lait$a;a(Lasb;Laiw$b;)V
intermediary method_56520
Lnet/minecraft/class_7655$class_9158;method_56520(Lnet/minecraft/class_3300;Lnet/minecraft/class_6903$class_7863;)V
named method_56520
Lnet/minecraft/registry/RegistryLoader$class_9158;method_56520(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/registry/RegistryOps$RegistryInfoGetter;)V
-
method_56521
public void method_56521(Map<RegistryKey<? extends Registry<?>>, List<SerializableRegistries.class_9176>> map, RegistryOps.RegistryInfoGetter registryInfoGetter) - Mappings:
Namespace Name Mixin selector official a
Lait$a;a(Ljava/util/Map;Laiw$b;)V
intermediary method_56521
Lnet/minecraft/class_7655$class_9158;method_56521(Ljava/util/Map;Lnet/minecraft/class_6903$class_7863;)V
named method_56521
Lnet/minecraft/registry/RegistryLoader$class_9158;method_56521(Ljava/util/Map;Lnet/minecraft/registry/RegistryOps$RegistryInfoGetter;)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)
. -
data
Returns the value of thedata
record component.- Returns:
- the value of the
data
record component
-
registry
Returns the value of theregistry
record component.- Returns:
- the value of the
registry
record component
-
loadingErrors
Returns the value of theloadingErrors
record component.- Returns:
- the value of the
loadingErrors
record component
-