PacketSendScrap.java 文件源码

java
阅读 21 收藏 0 点赞 0 评论 0

项目:RunicArcana 作者:
@Override
public IMessage onMessage(PacketSendScrap message, MessageContext ctx) {
    // Always use a construct like this to actually handle your message. This ensures that
    // your 'handle' code is run on the main Minecraft thread. 'onMessage' itself
    // is called on the networking thread so it is not safe to do a lot of things
    // here.
    int breakP = 0;
    FMLCommonHandler.instance().getWorldThread(ctx.netHandler).addScheduledTask(() -> handle(message, ctx));
    return null;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号