Class SessionLock
java.lang.Object
net.minecraft.world.level.storage.SessionLock
- All Implemented Interfaces:
AutoCloseable
- Mappings:
Namespace Name named net/minecraft/world/level/storage/SessionLockintermediary net/minecraft/class_5125official axt
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final FileChannelprivate final FileLockstatic final Stringprivate static final ByteBuffer -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SESSION_LOCK
- See Also:
- Mappings:
Namespace Name Mixin selector named SESSION_LOCKLnet/minecraft/world/level/storage/SessionLock;SESSION_LOCK:Ljava/lang/String;intermediary field_29838Lnet/minecraft/class_5125;field_29838:Ljava/lang/String;official aLaxt;a:Ljava/lang/String;
-
SNOWMAN
- Mappings:
Namespace Name Mixin selector named SNOWMANLnet/minecraft/world/level/storage/SessionLock;SNOWMAN:Ljava/nio/ByteBuffer;intermediary field_25353Lnet/minecraft/class_5125;field_25353:Ljava/nio/ByteBuffer;official dLaxt;d:Ljava/nio/ByteBuffer;
-
channel
- Mappings:
Namespace Name Mixin selector named channelLnet/minecraft/world/level/storage/SessionLock;channel:Ljava/nio/channels/FileChannel;intermediary field_23692Lnet/minecraft/class_5125;field_23692:Ljava/nio/channels/FileChannel;official bLaxt;b:Ljava/nio/channels/FileChannel;
-
lock
- Mappings:
Namespace Name Mixin selector named lockLnet/minecraft/world/level/storage/SessionLock;lock:Ljava/nio/channels/FileLock;intermediary field_23693Lnet/minecraft/class_5125;field_23693:Ljava/nio/channels/FileLock;official cLaxt;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;)Vintermediary <init>Lnet/minecraft/class_5125;<init>(Ljava/nio/channels/FileChannel;Ljava/nio/channels/FileLock;)Vofficial <init>Laxt;<init>(Ljava/nio/channels/FileChannel;Ljava/nio/channels/FileLock;)V
-
-
Method Details
-
create
- Throws:
IOException- Mappings:
Namespace Name Mixin selector named createLnet/minecraft/world/level/storage/SessionLock;create(Ljava/nio/file/Path;)Lnet/minecraft/world/level/storage/SessionLock;intermediary method_26803Lnet/minecraft/class_5125;method_26803(Ljava/nio/file/Path;)Lnet/minecraft/class_5125;official aLaxt;a(Ljava/nio/file/Path;)Laxt;
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-
isValid
public boolean isValid()- Mappings:
Namespace Name Mixin selector named isValidLnet/minecraft/world/level/storage/SessionLock;isValid()Zintermediary method_26802Lnet/minecraft/class_5125;method_26802()Zofficial aLaxt;a()Z
-
isLocked
- Throws:
IOException- Mappings:
Namespace Name Mixin selector named isLockedLnet/minecraft/world/level/storage/SessionLock;isLocked(Ljava/nio/file/Path;)Zintermediary method_26804Lnet/minecraft/class_5125;method_26804(Ljava/nio/file/Path;)Zofficial bLaxt;b(Ljava/nio/file/Path;)Z
-