侧边栏壁纸
  • 累计撰写 781 篇文章
  • 累计创建 1 个标签
  • 累计收到 1 条评论
标签搜索
MC

服务端生成TNT 堆栈 ??

Dettan
2021-07-10 / 0 评论 / 0 点赞 / 126 阅读 / 4,549 字
温馨提示:
本文最后更新于 2022-04-30,若内容或图片失效,请留言反馈。部分素材来自网络,若不小心影响到您的利益,请联系我们删除。
向服务器发送一个生成实体的包后,只会返回一个操作成功的包, 生成实体的包在Network Tick 里发送过来.
生成一个TNT的服务端代码,最后是吧TNT添加到了ForgeChunkManager 这个类???
loadEntity:967, ForgeChunkManager (net.minecraftforge.common)
onEntityJoinWorld:46, ForgeInternalHandler (net.minecraftforge.common)
invoke:-1, ASMEventHandler_13_ForgeInternalHandler_onEntityJoinWorld_EntityJoinWorldEvent (net.minecraftforge.fml.common.eventhandler)
invoke:90, ASMEventHandler (net.minecraftforge.fml.common.eventhandler)
post:182, EventBus (net.minecraftforge.fml.common.eventhandler)
spawnEntity:1313, World (net.minecraft.world)
spawnEntity:1121, WorldServer (net.minecraft.world)
onItemRightClick:55, ItemDiracOmniTool (com.civ.item)
useItemRightClick:234, ItemStack (net.minecraft.item)
processRightClick:384, PlayerInteractionManager (net.minecraft.server.management)
processTryUseItem:796, NetHandlerPlayServer (net.minecraft.network)
processPacket:43, CPacketPlayerTryUseItem (net.minecraft.network.play.client)
processPacket:9, CPacketPlayerTryUseItem (net.minecraft.network.play.client)
run:21, PacketThreadUtil$1 (net.minecraft.network)
call:511, Executors$RunnableAdapter (java.util.concurrent)
run$$$capture:266, FutureTask (java.util.concurrent)
run:-1, FutureTask (java.util.concurrent)
 - Async stack trace
<init>:132, FutureTask (java.util.concurrent)
<init>:71, ListenableFutureTask (com.google.common.util.concurrent)
create:53, ListenableFutureTask (com.google.common.util.concurrent)
callFromMainThread:1526, MinecraftServer (net.minecraft.server)
addScheduledTask:1550, MinecraftServer (net.minecraft.server)
addScheduledTask:1428, WorldServer (net.minecraft.world)
checkThreadAndEnqueue:17, PacketThreadUtil (net.minecraft.network)
processTryUseItem:788, NetHandlerPlayServer (net.minecraft.network)
processPacket:43, CPacketPlayerTryUseItem (net.minecraft.network.play.client)
processPacket:9, CPacketPlayerTryUseItem (net.minecraft.network.play.client)
channelRead0:155, NetworkManager (net.minecraft.network)
channelRead0:49, NetworkManager (net.minecraft.network)
channelRead:105, SimpleChannelInboundHandler (io.netty.channel)
invokeChannelRead:362, AbstractChannelHandlerContext (io.netty.channel)
invokeChannelRead:348, AbstractChannelHandlerContext (io.netty.channel)
fireChannelRead:340, AbstractChannelHandlerContext (io.netty.channel)
channelRead0:279, NetworkDispatcher (net.minecraftforge.fml.common.network.handshake)
channelRead0:72, NetworkDispatcher (net.minecraftforge.fml.common.network.handshake)
channelRead:105, SimpleChannelInboundHandler (io.netty.channel)
invokeChannelRead:362, AbstractChannelHandlerContext (io.netty.channel)
invokeChannelRead:348, AbstractChannelHandlerContext (io.netty.channel)
fireChannelRead:340, AbstractChannelHandlerContext (io.netty.channel)
channelRead:1334, DefaultChannelPipeline$HeadContext (io.netty.channel)
invokeChannelRead:362, AbstractChannelHandlerContext (io.netty.channel)
invokeChannelRead:348, AbstractChannelHandlerContext (io.netty.channel)
fireChannelRead:926, DefaultChannelPipeline (io.netty.channel)
finishPeerRead0:443, LocalChannel (io.netty.channel.local)
access$500:49, LocalChannel (io.netty.channel.local)
run:397, LocalChannel$5 (io.netty.channel.local)
safeExecute$$$capture:163, AbstractEventExecutor (io.netty.util.concurrent)
safeExecute:-1, AbstractEventExecutor (io.netty.util.concurrent)
 - Async stack trace
addTask:-1, SingleThreadEventExecutor (io.netty.util.concurrent)
execute:746, SingleThreadEventExecutor (io.netty.util.concurrent)
runFinishPeerReadTask:404, LocalChannel (io.netty.channel.local)
finishPeerRead:387, LocalChannel (io.netty.channel.local)
doWrite:379, LocalChannel (io.netty.channel.local)
flush0:856, AbstractChannel$AbstractUnsafe (io.netty.channel)
flush:823, AbstractChannel$AbstractUnsafe (io.netty.channel)
flush:1296, DefaultChannelPipeline$HeadContext (io.netty.channel)
invokeFlush0:776, AbstractChannelHandlerContext (io.netty.channel)
invokeFlush:768, AbstractChannelHandlerContext (io.netty.channel)
flush:749, AbstractChannelHandlerContext (io.netty.channel)
flush:558, NetworkDispatcher (net.minecraftforge.fml.common.network.handshake)
invokeFlush0:776, AbstractChannelHandlerContext (io.netty.channel)
invokeWriteAndFlush:802, AbstractChannelHandlerContext (io.netty.channel)
write:814, AbstractChannelHandlerContext (io.netty.channel)
writeAndFlush:794, AbstractChannelHandlerContext (io.netty.channel)
writeAndFlush:831, AbstractChannelHandlerContext (io.netty.channel)
writeAndFlush:1032, DefaultChannelPipeline (io.netty.channel)
writeAndFlush:296, AbstractChannel (io.netty.channel)
run:261, NetworkManager$4 (net.minecraft.network)
run:54, DefaultEventLoop (io.netty.channel)
run:858, SingleThreadEventExecutor$5 (io.netty.util.concurrent)
run:748, Thread (java.lang)

0

评论区