CompoundTag root = new CompoundTag();
root.put("id", new StringTag("id", id));
ListTag<DoubleTag> pos = new ListTag<DoubleTag>("Pos");
pos.add(new DoubleTag("x", x));
pos.add(new DoubleTag("y", y));
pos.add(new DoubleTag("z", z));
root.put("Pos", pos);
ListTag<DoubleTag> motion = new ListTag<DoubleTag>("Motion");
motion.add(new DoubleTag("dX", 0));
motion.add(new DoubleTag("dY", 0));
motion.add(new DoubleTag("dZ", 0));
root.put("Motion", motion);
ListTag<FloatTag> rotation = new ListTag<FloatTag>("Rotation");
rotation.add(new FloatTag("yaw", 0));
rotation.add(new FloatTag("pitch", 0));