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 zjintermediary net/minecraft/class_6904named net/minecraft/class_6904official aintermediary comp_356named resourceManagerofficial bintermediary comp_357named dataPackResourcesofficial cintermediary comp_358named registryAccessofficial dintermediary comp_359named worldData
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic final recordstatic interface -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ServerResourceManagerThe field for thedataPackResourcesrecord component.private final DynamicRegistryManager.ImmutableThe field for theregistryAccessrecord component.private final LifecycledResourceManagerThe field for theresourceManagerrecord component.private final SavePropertiesThe field for theworldDatarecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_6904(LifecycledResourceManager lifecycledResourceManager, ServerResourceManager serverResourceManager, DynamicRegistryManager.Immutable immutable, SaveProperties saveProperties) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Returns the value of thedataPackResourcesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.voidstatic 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) Returns the value of theregistryAccessrecord component.Returns the value of theresourceManagerrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theworldDatarecord component.
-
Field Details
-
resourceManager
The field for theresourceManagerrecord component. -
dataPackResources
The field for thedataPackResourcesrecord component. -
registryAccess
The field for theregistryAccessrecord component. -
worldData
The field for theworldDatarecord component.
-
-
Constructor Details
-
class_6904
public class_6904(LifecycledResourceManager lifecycledResourceManager, ServerResourceManager serverResourceManager, DynamicRegistryManager.Immutable immutable, SaveProperties saveProperties)
-
-
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 aLzj;a(Lzj$b;Lzj$a;Lzj$c;Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;intermediary method_40431Lnet/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_40431Lnet/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:
closein interfaceAutoCloseable
-
method_40428
public void method_40428()- Mappings:
Namespace Name Mixin selector official aLzj;a()Vintermediary method_40428Lnet/minecraft/class_6904;method_40428()Vnamed method_40428Lnet/minecraft/class_6904;method_40428()V
-
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
-
dataPackResources
Returns the value of thedataPackResourcesrecord component.- Returns:
- the value of the
dataPackResourcesrecord component
-
registryAccess
Returns the value of theregistryAccessrecord component.- Returns:
- the value of the
registryAccessrecord component
-
worldData
Returns the value of theworldDatarecord component.- Returns:
- the value of the
worldDatarecord component
-