Package net.minecraft

Record Class class_6904

java.lang.Object
java.lang.Record
net.minecraft.class_6904
Record Components:
resourceManager -
dataPackResources -
registryAccess -
worldData -
All Implemented Interfaces:
AutoCloseable

public record class_6904(LifecycledResourceManager resourceManager, ServerResourceManager dataPackResources, DynamicRegistryManager.Immutable registryAccess, SaveProperties worldData) extends Record implements AutoCloseable
Mappings:
Namespace Name
official zj
intermediary net/minecraft/class_6904
named net/minecraft/class_6904
official a
intermediary comp_356
named resourceManager
official b
intermediary comp_357
named dataPackResources
official c
intermediary comp_358
named registryAccess
official d
intermediary comp_359
named worldData
  • Field Details

  • Constructor Details

  • Method Details

    • method_40431

      public static CompletableFuture<class_6904> method_40431(class_6904.class_6906 class_6906, class_6904.class_6905 class_6905, class_6904.class_6907 class_6907, Executor executor, Executor executor2)
      Mappings:
      Namespace Name Mixin selector
      official a Lzj;a(Lzj$b;Lzj$a;Lzj$c;Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_40431 Lnet/minecraft/class_6904;method_40431(Lnet/minecraft/class_6904$class_6906;Lnet/minecraft/class_6904$class_6905;Lnet/minecraft/class_6904$class_6907;Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
      named method_40431 Lnet/minecraft/class_6904;method_40431(Lnet/minecraft/class_6904$class_6906;Lnet/minecraft/class_6904$class_6905;Lnet/minecraft/class_6904$class_6907;Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • method_40428

      public void method_40428()
      Mappings:
      Namespace Name Mixin selector
      official a Lzj;a()V
      intermediary method_40428 Lnet/minecraft/class_6904;method_40428()V
      named method_40428 Lnet/minecraft/class_6904;method_40428()V
    • 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 LifecycledResourceManager resourceManager()
      Returns the value of the resourceManager record component.
      Returns:
      the value of the resourceManager record component
    • dataPackResources

      public ServerResourceManager dataPackResources()
      Returns the value of the dataPackResources record component.
      Returns:
      the value of the dataPackResources record component
    • registryAccess

      public DynamicRegistryManager.Immutable registryAccess()
      Returns the value of the registryAccess record component.
      Returns:
      the value of the registryAccess record component
    • worldData

      public SaveProperties worldData()
      Returns the value of the worldData record component.
      Returns:
      the value of the worldData record component