类 PackScreen.DirectoryWatcher
- java.lang.Object
-
- net.minecraft.client.gui.screen.pack.PackScreen.DirectoryWatcher
-
- 所有已实现的接口:
AutoCloseable
- 封闭类:
- PackScreen
@Environment(CLIENT) static class PackScreen.DirectoryWatcher extends Object implements AutoCloseable
- Mappings:
Namespace Name official ebx$aintermediary net/minecraft/class_5375$class_5426named net/minecraft/client/gui/screen/pack/PackScreen$DirectoryWatcher
-
-
字段概要
字段 修饰符和类型 字段 说明 private Pathpathprivate WatchServicewatchService
-
构造器概要
构造器 构造器 说明 DirectoryWatcher(File file)
-
-
-
字段详细资料
-
watchService
private final WatchService watchService
- Mappings:
Namespace Name Mixin selector official aLebx$a;a:Ljava/nio/file/WatchService;intermediary field_25790Lnet/minecraft/class_5375$class_5426;field_25790:Ljava/nio/file/WatchService;named watchServiceLnet/minecraft/client/gui/screen/pack/PackScreen$DirectoryWatcher;watchService:Ljava/nio/file/WatchService;
-
path
private final Path path
- Mappings:
Namespace Name Mixin selector official bLebx$a;b:Ljava/nio/file/Path;intermediary field_25791Lnet/minecraft/class_5375$class_5426;field_25791:Ljava/nio/file/Path;named pathLnet/minecraft/client/gui/screen/pack/PackScreen$DirectoryWatcher;path:Ljava/nio/file/Path;
-
-
构造器详细资料
-
DirectoryWatcher
public DirectoryWatcher(File file) throws IOException
- 抛出:
IOException
-
-
方法详细资料
-
create
@Nullable public static @Nullable PackScreen.DirectoryWatcher create(File file)
- Mappings:
Namespace Name Mixin selector official aLebx$a;a(Ljava/io/File;)Lebx$a;intermediary method_30293Lnet/minecraft/class_5375$class_5426;method_30293(Ljava/io/File;)Lnet/minecraft/class_5375$class_5426;named createLnet/minecraft/client/gui/screen/pack/PackScreen$DirectoryWatcher;create(Ljava/io/File;)Lnet/minecraft/client/gui/screen/pack/PackScreen$DirectoryWatcher;
-
watchDirectory
private void watchDirectory(Path path) throws IOException
- 抛出:
IOException- Mappings:
Namespace Name Mixin selector official aLebx$a;a(Ljava/nio/file/Path;)Vintermediary method_30294Lnet/minecraft/class_5375$class_5426;method_30294(Ljava/nio/file/Path;)Vnamed watchDirectoryLnet/minecraft/client/gui/screen/pack/PackScreen$DirectoryWatcher;watchDirectory(Ljava/nio/file/Path;)V
-
pollForChange
public boolean pollForChange() throws IOException- 抛出:
IOException- Mappings:
Namespace Name Mixin selector official aLebx$a;a()Zintermediary method_30292Lnet/minecraft/class_5375$class_5426;method_30292()Znamed pollForChangeLnet/minecraft/client/gui/screen/pack/PackScreen$DirectoryWatcher;pollForChange()Z
-
close
public void close() throws IOException- 指定者:
close在接口中AutoCloseable- 抛出:
IOException- Mappings:
Namespace Name Mixin selector official closeLebx$a;close()Vintermediary closeLnet/minecraft/class_5375$class_5426;close()Vnamed closeLnet/minecraft/client/gui/screen/pack/PackScreen$DirectoryWatcher;close()V
-
-