writeVector3i static method

void writeVector3i(
  1. CompoundTag tag,
  2. String name,
  3. Vector3i pos
)

Implementation

static void writeVector3i(CompoundTag tag, String name, Vector3i pos) {
  ListTag posTag = ListTag();
  posTag.add(IntTag.valueOf(pos.X));
  posTag.add(IntTag.valueOf(pos.Y));
  posTag.add(IntTag.valueOf(pos.Z));
  tag.put(name, posTag);
}