Skip to content

Instantly share code, notes, and snippets.

@koher
Created June 20, 2020 16:41
Show Gist options
  • Save koher/be60881afc3ac7c2dba1f009194ff123 to your computer and use it in GitHub Desktop.
Save koher/be60881afc3ac7c2dba1f009194ff123 to your computer and use it in GitHub Desktop.
let xzs = [
(3333, 8650),
(3333, 8634),
(3342, 8634),
(3342, 8633),
(3352, 8633),
(3352, 8634),
(3360, 8634),
(3360, 8638),
(3361, 8638),
(3361, 8643),
(3356, 8643),
(3356, 8656),
(3351, 8656),
(3351, 8658),
(3337, 8658),
(3337, 8650),
]
let (y1, y2) = (202, 219)
for i in xzs.indices {
let (x1, z1) = xzs[i]
let (x2, z2) = xzs[(i + 1) % xzs.count]
print("/fill \(x1) \(y1) \(z1) \(x2) \(y2) \(z2) quartz_block")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment