Class LockHelper

java.lang.Object
net.minecraft.util.thread.LockHelper

public class LockHelper extends Object
Mappings:
Namespace Name
named net/minecraft/util/thread/LockHelper
intermediary net/minecraft/class_5798
official bbd
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/util/thread/LockHelper;LOGGER:Lorg/slf4j/Logger;
      intermediary field_36293 Lnet/minecraft/class_5798;field_36293:Lorg/slf4j/Logger;
      official a Lbbd;a:Lorg/slf4j/Logger;
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/util/thread/LockHelper;name:Ljava/lang/String;
      intermediary field_36294 Lnet/minecraft/class_5798;field_36294:Ljava/lang/String;
      official b Lbbd;b:Ljava/lang/String;
    • semaphore

      private final Semaphore semaphore
      Mappings:
      Namespace Name Mixin selector
      named semaphore Lnet/minecraft/util/thread/LockHelper;semaphore:Ljava/util/concurrent/Semaphore;
      intermediary field_36295 Lnet/minecraft/class_5798;field_36295:Ljava/util/concurrent/Semaphore;
      official c Lbbd;c:Ljava/util/concurrent/Semaphore;
    • lock

      private final Lock lock
      Mappings:
      Namespace Name Mixin selector
      named lock Lnet/minecraft/util/thread/LockHelper;lock:Ljava/util/concurrent/locks/Lock;
      intermediary field_36296 Lnet/minecraft/class_5798;field_36296:Ljava/util/concurrent/locks/Lock;
      official d Lbbd;d:Ljava/util/concurrent/locks/Lock;
    • thread

      @Nullable private volatile @Nullable Thread thread
      Mappings:
      Namespace Name Mixin selector
      named thread Lnet/minecraft/util/thread/LockHelper;thread:Ljava/lang/Thread;
      intermediary field_36297 Lnet/minecraft/class_5798;field_36297:Ljava/lang/Thread;
      official e Lbbd;e:Ljava/lang/Thread;
    • crashException

      @Nullable private volatile @Nullable CrashException crashException
      Mappings:
      Namespace Name Mixin selector
      named crashException Lnet/minecraft/util/thread/LockHelper;crashException:Lnet/minecraft/util/crash/CrashException;
      intermediary field_36298 Lnet/minecraft/class_5798;field_36298:Lnet/minecraft/class_148;
      official f Lbbd;f:Lz;
  • Constructor Details

    • LockHelper

      public LockHelper(String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/thread/LockHelper;<init>(Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_5798;<init>(Ljava/lang/String;)V
      official <init> Lbbd;<init>(Ljava/lang/String;)V
  • Method Details

    • lock

      public void lock()
      Mappings:
      Namespace Name Mixin selector
      named lock Lnet/minecraft/util/thread/LockHelper;lock()V
      intermediary method_39935 Lnet/minecraft/class_5798;method_39935()V
      official a Lbbd;a()V
    • unlock

      public void unlock()
      Mappings:
      Namespace Name Mixin selector
      named unlock Lnet/minecraft/util/thread/LockHelper;unlock()V
      intermediary method_39937 Lnet/minecraft/class_5798;method_39937()V
      official b Lbbd;b()V
    • crash

      public static CrashException crash(String message, @Nullable @Nullable Thread thread)
      Mappings:
      Namespace Name Mixin selector
      named crash Lnet/minecraft/util/thread/LockHelper;crash(Ljava/lang/String;Ljava/lang/Thread;)Lnet/minecraft/util/crash/CrashException;
      intermediary method_33564 Lnet/minecraft/class_5798;method_33564(Ljava/lang/String;Ljava/lang/Thread;)Lnet/minecraft/class_148;
      official a Lbbd;a(Ljava/lang/String;Ljava/lang/Thread;)Lz;
    • formatStackTraceForThread

      private static String formatStackTraceForThread(Thread thread)
      Mappings:
      Namespace Name Mixin selector
      named formatStackTraceForThread Lnet/minecraft/util/thread/LockHelper;formatStackTraceForThread(Ljava/lang/Thread;)Ljava/lang/String;
      intermediary method_39936 Lnet/minecraft/class_5798;method_39936(Ljava/lang/Thread;)Ljava/lang/String;
      official a Lbbd;a(Ljava/lang/Thread;)Ljava/lang/String;