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