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$FullPatchesRegistriesPair
intermediary net/minecraft/class_7877$class_8993
official kg$g
named full
intermediary comp_2113
official a
named patches
intermediary comp_2114
official b
-
Field Summary
Modifier and TypeFieldDescriptionprivate final RegistryWrapper.WrapperLookup
The field for thefull
record component.private final RegistryWrapper.WrapperLookup
The field for thepatches
record component. -
Constructor Summary
ConstructorDescriptionFullPatchesRegistriesPair
(RegistryWrapper.WrapperLookup wrapperLookup, RegistryWrapper.WrapperLookup wrapperLookup2) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.full()
Returns the value of thefull
record component.final int
hashCode()
Returns a hash code value for this object.patches()
Returns the value of thepatches
record component.final String
toString()
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 thefull
record component.- Returns:
- the value of the
full
record component
-
patches
Returns the value of thepatches
record component.- Returns:
- the value of the
patches
record component
-