类 OffThreadException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- net.minecraft.network.OffThreadException
-
- 所有已实现的接口:
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.
- 另请参阅:
NetworkThreadUtils,ClientConnection.channelRead0(io.netty.channel.ChannelHandlerContext, net.minecraft.network.Packet<?>), 序列化表格- Mappings:
Namespace Name official wyintermediary net/minecraft/class_2987named net/minecraft/network/OffThreadException
-
-
字段概要
字段 修饰符和类型 字段 说明 static OffThreadExceptionINSTANCEThe singleton instance, to reduce object allocations.
-
构造器概要
构造器 限定符 构造器 说明 privateOffThreadException()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ThrowablefillInStackTrace()-
从类继承的方法 java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
字段详细资料
-
INSTANCE
public static final OffThreadException INSTANCE
The singleton instance, to reduce object allocations.- Mappings:
Namespace Name Mixin selector official aLwy;a:Lwy;intermediary field_13400Lnet/minecraft/class_2987;field_13400:Lnet/minecraft/class_2987;named INSTANCELnet/minecraft/network/OffThreadException;INSTANCE:Lnet/minecraft/network/OffThreadException;
-
-
方法详细资料
-
fillInStackTrace
public Throwable fillInStackTrace()
- 覆盖:
fillInStackTrace在类中Throwable- Mappings:
Namespace Name Mixin selector official fillInStackTraceLwy;fillInStackTrace()Ljava/lang/Throwable;intermediary fillInStackTraceLnet/minecraft/class_2987;fillInStackTrace()Ljava/lang/Throwable;named fillInStackTraceLnet/minecraft/network/OffThreadException;fillInStackTrace()Ljava/lang/Throwable;
-
-