Class PackScreen.DirectoryWatcher

java.lang.Object
net.minecraft.client.gui.screen.pack.PackScreen.DirectoryWatcher
All Implemented Interfaces:
AutoCloseable
Enclosing class:
PackScreen

@Environment(CLIENT) private static class PackScreen.DirectoryWatcher extends Object implements AutoCloseable
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/pack/PackScreen$DirectoryWatcher
intermediary net/minecraft/class_5375$class_5426
official fqz$a
  • Field Details

    • watchService

      private final WatchService watchService
      Mappings:
      Namespace Name Mixin selector
      named watchService Lnet/minecraft/client/gui/screen/pack/PackScreen$DirectoryWatcher;watchService:Ljava/nio/file/WatchService;
      intermediary field_25790 Lnet/minecraft/class_5375$class_5426;field_25790:Ljava/nio/file/WatchService;
      official a Lfqz$a;a:Ljava/nio/file/WatchService;
    • path

      private final Path path
      Mappings:
      Namespace Name Mixin selector
      named path Lnet/minecraft/client/gui/screen/pack/PackScreen$DirectoryWatcher;path:Ljava/nio/file/Path;
      intermediary field_25791 Lnet/minecraft/class_5375$class_5426;field_25791:Ljava/nio/file/Path;
      official b Lfqz$a;b:Ljava/nio/file/Path;
  • Constructor Details

    • DirectoryWatcher

      public DirectoryWatcher(Path path) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/pack/PackScreen$DirectoryWatcher;<init>(Ljava/nio/file/Path;)V
      intermediary <init> Lnet/minecraft/class_5375$class_5426;<init>(Ljava/nio/file/Path;)V
      official <init> Lfqz$a;<init>(Ljava/nio/file/Path;)V
  • Method Details

    • create

      @Nullable public static @Nullable PackScreen.DirectoryWatcher create(Path path)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/client/gui/screen/pack/PackScreen$DirectoryWatcher;create(Ljava/nio/file/Path;)Lnet/minecraft/client/gui/screen/pack/PackScreen$DirectoryWatcher;
      intermediary method_30293 Lnet/minecraft/class_5375$class_5426;method_30293(Ljava/nio/file/Path;)Lnet/minecraft/class_5375$class_5426;
      official a Lfqz$a;a(Ljava/nio/file/Path;)Lfqz$a;
    • watchDirectory

      private void watchDirectory(Path path) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named watchDirectory Lnet/minecraft/client/gui/screen/pack/PackScreen$DirectoryWatcher;watchDirectory(Ljava/nio/file/Path;)V
      intermediary method_30294 Lnet/minecraft/class_5375$class_5426;method_30294(Ljava/nio/file/Path;)V
      official b Lfqz$a;b(Ljava/nio/file/Path;)V
    • pollForChange

      public boolean pollForChange() throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named pollForChange Lnet/minecraft/client/gui/screen/pack/PackScreen$DirectoryWatcher;pollForChange()Z
      intermediary method_30292 Lnet/minecraft/class_5375$class_5426;method_30292()Z
      official a Lfqz$a;a()Z
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Throws:
      IOException