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 azn
  • 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 Lazn;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 Lazn;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 Lazn;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 Lazn;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 Lazn;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 Lazn;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> Lazn;<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 Lazn;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 Lazn;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 Lazn;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 Lazn;a(Ljava/lang/Thread;)Ljava/lang/String;