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, RegistryWrapper.WrapperLookup worldGenRegistryManager, DynamicRegistryManager.Immutable dimensionsRegistryManager) extends Record
Mappings:
Namespace Name
named net/minecraft/server/SaveLoading$LoadContextSupplierContext
intermediary net/minecraft/class_7237$class_7660
official anw$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 Details

  • Constructor Details

    • LoadContextSupplierContext

      public LoadContextSupplierContext(ResourceManager resources, DataConfiguration dataConfiguration, RegistryWrapper.WrapperLookup datapackWorldgen, DynamicRegistryManager.Immutable datapackDimensions)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/SaveLoading$LoadContextSupplierContext;<init>(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/resource/DataConfiguration;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;Lnet/minecraft/registry/DynamicRegistryManager$Immutable;)V
      intermediary <init> Lnet/minecraft/class_7237$class_7660;<init>(Lnet/minecraft/class_3300;Lnet/minecraft/class_7712;Lnet/minecraft/class_7225$class_7874;Lnet/minecraft/class_5455$class_6890;)V
      official <init> Lanw$a;<init>(Lbbe;Ldvm;Ljl$a;Ljx$b;)V
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • resourceManager

      public ResourceManager resourceManager()
      Returns the value of the resourceManager record component.
      Returns:
      the value of the resourceManager record component
    • dataConfiguration

      public DataConfiguration dataConfiguration()
      Returns the value of the dataConfiguration record component.
      Returns:
      the value of the dataConfiguration record component
    • worldGenRegistryManager

      public RegistryWrapper.WrapperLookup worldGenRegistryManager()
      Returns the value of the worldGenRegistryManager record component.
      Returns:
      the value of the worldGenRegistryManager record component
    • dimensionsRegistryManager

      public DynamicRegistryManager.Immutable dimensionsRegistryManager()
      Returns the value of the dimensionsRegistryManager record component.
      Returns:
      the value of the dimensionsRegistryManager record component