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 named net/minecraft/server/SaveLoading$LoadContextSupplierContextintermediary net/minecraft/class_7237$class_7660official alo$anamed resourceManagerintermediary comp_987official anamed dataConfigurationintermediary comp_988official bnamed worldGenRegistryManagerintermediary comp_989official cnamed dimensionsRegistryManagerintermediary comp_990official d
-
Field Summary
FieldsModifier 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 Summary
ConstructorsConstructorDescriptionLoadContextSupplierContext(ResourceManager resourceManager, DataConfiguration dataConfiguration, DynamicRegistryManager.Immutable immutable, DynamicRegistryManager.Immutable immutable2) -
Method Summary
Modifier 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
-
resourceManager
The field for theresourceManagerrecord component. -
dataConfiguration
The field for thedataConfigurationrecord component. -
worldGenRegistryManager
The field for theworldGenRegistryManagerrecord component. -
dimensionsRegistryManager
The field for thedimensionsRegistryManagerrecord component.
-
-
Constructor Details
-
LoadContextSupplierContext
public LoadContextSupplierContext(ResourceManager resourceManager, DataConfiguration dataConfiguration, DynamicRegistryManager.Immutable immutable, DynamicRegistryManager.Immutable immutable2)
-
-
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). -
resourceManager
Returns the value of theresourceManagerrecord component.- Returns:
- the value of the
resourceManagerrecord component
-
dataConfiguration
Returns the value of thedataConfigurationrecord component.- Returns:
- the value of the
dataConfigurationrecord component
-
worldGenRegistryManager
Returns the value of theworldGenRegistryManagerrecord component.- Returns:
- the value of the
worldGenRegistryManagerrecord component
-
dimensionsRegistryManager
Returns the value of thedimensionsRegistryManagerrecord component.- Returns:
- the value of the
dimensionsRegistryManagerrecord component
-