Package net.minecraft.server
Record Class SaveLoading.LoadContextSupplierContext
java.lang.Object
java.lang.Record
net.minecraft.server.SaveLoading.LoadContextSupplierContext
- Record Components:
- resourceManager-
- dataConfiguration-
- worldGenRegistryManager-
- dimensionsRegistryManager-
- Enclosing class:
- SaveLoading
public static record SaveLoading.LoadContextSupplierContext(ResourceManager resourceManager, DataConfiguration dataConfiguration, DynamicRegistryManager.Immutable worldGenRegistryManager, DynamicRegistryManager.Immutable dimensionsRegistryManager)
extends Record
- Mappings:
- Namespace - Name - official - adj$a- intermediary - net/minecraft/class_7237$class_7660- named - net/minecraft/server/SaveLoading$LoadContextSupplierContext- official - a- intermediary - comp_987- named - resourceManager- official - b- intermediary - comp_988- named - dataConfiguration- official - c- intermediary - comp_989- named - worldGenRegistryManager- official - d- intermediary - comp_990- named - dimensionsRegistryManager
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final DataConfigurationThe field for thedataConfigurationrecord component.private final DynamicRegistryManager.ImmutableThe field for thedimensionsRegistryManagerrecord component.private final ResourceManagerThe field for theresourceManagerrecord component.private final DynamicRegistryManager.ImmutableThe field for theworldGenRegistryManagerrecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionLoadContextSupplierContext(ResourceManager resourceManager, DataConfiguration dataConfiguration, DynamicRegistryManager.Immutable immutable, DynamicRegistryManager.Immutable immutable2) 
- 
Method SummaryModifier and TypeMethodDescriptionReturns the value of thedataConfigurationrecord component.Returns the value of thedimensionsRegistryManagerrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theresourceManagerrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theworldGenRegistryManagerrecord component.
- 
Field Details- 
resourceManagerThe field for theresourceManagerrecord component.
- 
dataConfigurationThe field for thedataConfigurationrecord component.
- 
worldGenRegistryManagerThe field for theworldGenRegistryManagerrecord component.
- 
dimensionsRegistryManagerThe field for thedimensionsRegistryManagerrecord component.
 
- 
- 
Constructor Details- 
LoadContextSupplierContextpublic LoadContextSupplierContext(ResourceManager resourceManager, DataConfiguration dataConfiguration, DynamicRegistryManager.Immutable immutable, DynamicRegistryManager.Immutable immutable2) 
 
- 
- 
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).
- 
resourceManagerReturns the value of theresourceManagerrecord component.- Returns:
- the value of the resourceManagerrecord component
 
- 
dataConfigurationReturns the value of thedataConfigurationrecord component.- Returns:
- the value of the dataConfigurationrecord component
 
- 
worldGenRegistryManagerReturns the value of theworldGenRegistryManagerrecord component.- Returns:
- the value of the worldGenRegistryManagerrecord component
 
- 
dimensionsRegistryManagerReturns the value of thedimensionsRegistryManagerrecord component.- Returns:
- the value of the dimensionsRegistryManagerrecord component
 
 
-