Package net.minecraft.core
Record Class RegistrySetBuilder.PatchedRegistries
java.lang.Object
java.lang.Record
net.minecraft.core.RegistrySetBuilder.PatchedRegistries
- Enclosing class:
- RegistrySetBuilder
public static record RegistrySetBuilder.PatchedRegistries(HolderLookup.Provider full, HolderLookup.Provider patches)
extends Record
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final HolderLookup.ProviderThe field for thefullrecord component.private final HolderLookup.ProviderThe field for thepatchesrecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionPatchedRegistries(HolderLookup.Provider full, HolderLookup.Provider patches) Creates an instance of aPatchedRegistriesrecord class.
- 
Method SummaryModifier 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- 
fullThe field for thefullrecord component.
- 
patchesThe field for thepatchesrecord component.
 
- 
- 
Constructor Details- 
PatchedRegistriesCreates an instance of aPatchedRegistriesrecord class.- Parameters:
- full- the value for the- fullrecord component
- patches- the value for the- patchesrecord component
 
 
- 
- 
Method Details- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
fullReturns the value of thefullrecord component.- Returns:
- the value of the fullrecord component
 
- 
patchesReturns the value of thepatchesrecord component.- Returns:
- the value of the patchesrecord component
 
 
-