return root;
}
protected CompoundTag createEntityRoot(int x, int y, int z, String id)
{
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));
root.put("Rotation", rotation);
root.put("FallDistance", new FloatTag("FallDistance", 0));
root.put("Fire", new ShortTag("Fire", (short)0));
root.put("Air", new ShortTag("Air", (short)0));
root.put("OnGround", new ByteTag("OnGround", (byte)0));
root.put("Dimension", new IntTag("Dimension", 0));
root.put("Invulnerable", new ByteTag("Invulnerable", (byte)1));
root.put("PortalCooldown", new IntTag("PortalCooldown", 0));
return root;
}