writeVector3d static method
- CompoundTag tag,
- String name,
- Vector3d pos
Implementation
static void writeVector3d(CompoundTag tag, String name, Vector3d pos) {
ListTag posTag = ListTag();
posTag.add(DoubleTag.valueOf(pos.X));
posTag.add(DoubleTag.valueOf(pos.Y));
posTag.add(DoubleTag.valueOf(pos.Z));
tag.put(name, posTag);
}