Package net.minecraft
Record Class class_7877.class_7884<T>
java.lang.Object
java.lang.Record
net.minecraft.class_7877.class_7884<T>
- Record Components:
key-lifecycle-bootstrap-
- Enclosing class:
class_7877
private static record class_7877.class_7884<T>(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, class_7877.class_7882<T> bootstrap)
extends Record
- Mappings:
Namespace Name official hn$gintermediary net/minecraft/class_7877$class_7884named net/minecraft/class_7877$class_7884official aintermediary comp_1144named keyofficial bintermediary comp_1145named lifecycleofficial cintermediary comp_1146named bootstrap
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final class_7877.class_7882<T>The field for thebootstraprecord component.private final RegistryKey<? extends Registry<T>>The field for thekeyrecord component.private final com.mojang.serialization.LifecycleThe field for thelifecyclerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_7884(RegistryKey<? extends Registry<T>> registryKey, com.mojang.serialization.Lifecycle lifecycle, class_7877.class_7882<T> class_7882) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebootstraprecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.RegistryKey<? extends Registry<T>>key()Returns the value of thekeyrecord component.com.mojang.serialization.LifecycleReturns the value of thelifecyclerecord component.method_46805(class_7877.class_7878 class_7878) (package private) voidmethod_46806(class_7877.class_7878 class_7878) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
class_7884
class_7884(RegistryKey<? extends Registry<T>> registryKey, com.mojang.serialization.Lifecycle lifecycle, class_7877.class_7882<T> class_7882)
-
-
Method Details
-
method_46806
- Mappings:
Namespace Name Mixin selector official bLhn$g;b(Lhn$a;)Vintermediary method_46806Lnet/minecraft/class_7877$class_7884;method_46806(Lnet/minecraft/class_7877$class_7878;)Vnamed method_46806Lnet/minecraft/class_7877$class_7884;method_46806(Lnet/minecraft/class_7877$class_7878;)V
-
method_46805
- Mappings:
Namespace Name Mixin selector official aLhn$g;a(Lhn$a;)Lhn$f;intermediary method_46805Lnet/minecraft/class_7877$class_7884;method_46805(Lnet/minecraft/class_7877$class_7878;)Lnet/minecraft/class_7877$class_7883;named method_46805Lnet/minecraft/class_7877$class_7884;method_46805(Lnet/minecraft/class_7877$class_7878;)Lnet/minecraft/class_7877$class_7883;
-
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). -
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-
lifecycle
public com.mojang.serialization.Lifecycle lifecycle()Returns the value of thelifecyclerecord component.- Returns:
- the value of the
lifecyclerecord component
-
bootstrap
Returns the value of thebootstraprecord component.- Returns:
- the value of the
bootstraprecord component
-