Package net.minecraft.registry
Record Class RegistryBuilder.FullPatchesRegistriesPair
java.lang.Object
java.lang.Record
net.minecraft.registry.RegistryBuilder.FullPatchesRegistriesPair
- Record Components:
full-patches-
- Enclosing class:
RegistryBuilder
public static record RegistryBuilder.FullPatchesRegistriesPair(RegistryWrapper.WrapperLookup full, RegistryWrapper.WrapperLookup patches)
extends Record
- Mappings:
Namespace Name named net/minecraft/registry/RegistryBuilder$FullPatchesRegistriesPairintermediary net/minecraft/class_7877$class_8993official kc$gnamed fullintermediary comp_2113official anamed patchesintermediary comp_2114official b
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RegistryWrapper.WrapperLookupThe field for thefullrecord component.private final RegistryWrapper.WrapperLookupThe field for thepatchesrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionFullPatchesRegistriesPair(RegistryWrapper.WrapperLookup wrapperLookup, RegistryWrapper.WrapperLookup wrapperLookup2) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.full()Returns the value of thefullrecord component.final inthashCode()Returns a hash code value for this object.patches()Returns the value of thepatchesrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
FullPatchesRegistriesPair
public FullPatchesRegistriesPair(RegistryWrapper.WrapperLookup wrapperLookup, RegistryWrapper.WrapperLookup wrapperLookup2)
-
-
Method Details
-
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). -
full
Returns the value of thefullrecord component.- Returns:
- the value of the
fullrecord component
-
patches
Returns the value of thepatchesrecord component.- Returns:
- the value of the
patchesrecord component
-