Class OffThreadException

All Implemented Interfaces:
Serializable

public final class OffThreadException extends RuntimeException
An exception thrown on netty's event loop to quit handling of one packet, usually as it is scheduled to be handled on the game engine thread.

This is a singleton. It ignores stack traces in order to be efficient.

See Also:
Mappings:
Namespace Name
named net/minecraft/network/OffThreadException
intermediary net/minecraft/class_2987
official alc
  • Field Details

    • INSTANCE

      public static final OffThreadException INSTANCE
      The singleton instance, to reduce object allocations.
      Mappings:
      Namespace Name Mixin selector
      named INSTANCE Lnet/minecraft/network/OffThreadException;INSTANCE:Lnet/minecraft/network/OffThreadException;
      intermediary field_13400 Lnet/minecraft/class_2987;field_13400:Lnet/minecraft/class_2987;
      official a Lalc;a:Lalc;
  • Constructor Details

    • OffThreadException

      private OffThreadException()
  • Method Details