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