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$LoadContextSupplierContext
intermediary net/minecraft/class_7237$class_7660
official aln$a
named resourceManager
intermediary comp_987
official a
named dataConfiguration
intermediary comp_988
official b
named worldGenRegistryManager
intermediary comp_989
official c
named dimensionsRegistryManager
intermediary comp_990
official d
-
Field Summary
Modifier and TypeFieldDescriptionprivate final DataConfiguration
The field for thedataConfiguration
record component.private final DynamicRegistryManager.Immutable
The field for thedimensionsRegistryManager
record component.private final ResourceManager
The field for theresourceManager
record component.private final DynamicRegistryManager.Immutable
The field for theworldGenRegistryManager
record component. -
Constructor Summary
ConstructorDescriptionLoadContextSupplierContext
(ResourceManager resourceManager, DataConfiguration dataConfiguration, DynamicRegistryManager.Immutable immutable, DynamicRegistryManager.Immutable immutable2) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedataConfiguration
record component.Returns the value of thedimensionsRegistryManager
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of theresourceManager
record component.final String
toString()
Returns a string representation of this record class.Returns the value of theworldGenRegistryManager
record component.
-
Field Details
-
resourceManager
The field for theresourceManager
record component. -
dataConfiguration
The field for thedataConfiguration
record component. -
worldGenRegistryManager
The field for theworldGenRegistryManager
record component. -
dimensionsRegistryManager
The field for thedimensionsRegistryManager
record 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 theresourceManager
record component.- Returns:
- the value of the
resourceManager
record component
-
dataConfiguration
Returns the value of thedataConfiguration
record component.- Returns:
- the value of the
dataConfiguration
record component
-
worldGenRegistryManager
Returns the value of theworldGenRegistryManager
record component.- Returns:
- the value of the
worldGenRegistryManager
record component
-
dimensionsRegistryManager
Returns the value of thedimensionsRegistryManager
record component.- Returns:
- the value of the
dimensionsRegistryManager
record component
-