Class SessionLock
java.lang.Object
net.minecraft.world.level.storage.SessionLock
- All Implemented Interfaces:
AutoCloseable
- Mappings:
Namespace Name named net/minecraft/world/level/storage/SessionLock
intermediary net/minecraft/class_5125
official aye
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final FileChannel
private final FileLock
static final String
private static final ByteBuffer
-
Constructor Summary
-
Method Summary
-
Field Details
-
SESSION_LOCK
- See Also:
- Mappings:
Namespace Name Mixin selector named SESSION_LOCK
Lnet/minecraft/world/level/storage/SessionLock;SESSION_LOCK:Ljava/lang/String;
intermediary field_29838
Lnet/minecraft/class_5125;field_29838:Ljava/lang/String;
official a
Laye;a:Ljava/lang/String;
-
SNOWMAN
- Mappings:
Namespace Name Mixin selector named SNOWMAN
Lnet/minecraft/world/level/storage/SessionLock;SNOWMAN:Ljava/nio/ByteBuffer;
intermediary field_25353
Lnet/minecraft/class_5125;field_25353:Ljava/nio/ByteBuffer;
official d
Laye;d:Ljava/nio/ByteBuffer;
-
channel
- Mappings:
Namespace Name Mixin selector named channel
Lnet/minecraft/world/level/storage/SessionLock;channel:Ljava/nio/channels/FileChannel;
intermediary field_23692
Lnet/minecraft/class_5125;field_23692:Ljava/nio/channels/FileChannel;
official b
Laye;b:Ljava/nio/channels/FileChannel;
-
lock
- Mappings:
Namespace Name Mixin selector named lock
Lnet/minecraft/world/level/storage/SessionLock;lock:Ljava/nio/channels/FileLock;
intermediary field_23693
Lnet/minecraft/class_5125;field_23693:Ljava/nio/channels/FileLock;
official c
Laye;c:Ljava/nio/channels/FileLock;
-
-
Constructor Details
-
SessionLock
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/level/storage/SessionLock;<init>(Ljava/nio/channels/FileChannel;Ljava/nio/channels/FileLock;)V
intermediary <init>
Lnet/minecraft/class_5125;<init>(Ljava/nio/channels/FileChannel;Ljava/nio/channels/FileLock;)V
official <init>
Laye;<init>(Ljava/nio/channels/FileChannel;Ljava/nio/channels/FileLock;)V
-
-
Method Details
-
create
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/world/level/storage/SessionLock;create(Ljava/nio/file/Path;)Lnet/minecraft/world/level/storage/SessionLock;
intermediary method_26803
Lnet/minecraft/class_5125;method_26803(Ljava/nio/file/Path;)Lnet/minecraft/class_5125;
official a
Laye;a(Ljava/nio/file/Path;)Laye;
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
IOException
-
isValid
public boolean isValid()- Mappings:
Namespace Name Mixin selector named isValid
Lnet/minecraft/world/level/storage/SessionLock;isValid()Z
intermediary method_26802
Lnet/minecraft/class_5125;method_26802()Z
official a
Laye;a()Z
-
isLocked
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector named isLocked
Lnet/minecraft/world/level/storage/SessionLock;isLocked(Ljava/nio/file/Path;)Z
intermediary method_26804
Lnet/minecraft/class_5125;method_26804(Ljava/nio/file/Path;)Z
official b
Laye;b(Ljava/nio/file/Path;)Z
-