Class LockHelper

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

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

    • LOGGER

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

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

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

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

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

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

    • LockHelper

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

    • lock

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

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

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

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