@Override
public void toBytes(ByteBuf buf) {
buf.writeInt(this.tile.getWorld().provider.getDimension());
buf.writeLong(this.tile.getPos().toLong());
buf.writeInt(this.id);
ByteBufUtils.writeItemStack(buf, this.stack);
buf.writeFloat(this.progress);
buf.writeByte(this.direction);
buf.writeInt(this.color);
}
PacketItemAdd.java 文件源码
java
阅读 22
收藏 0
点赞 0
评论 0
项目:SimpleTubes
作者:
评论列表
文章目录