Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions minecraft_print.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,12 @@ def find_markers(self):
self.markers.append([x_pos, z_pos, dx, dz, dy])
for y in range(256):
chunk.Blocks[dx, dz, y] = 0
chunk.chunkChanged()
elif dy < 126 and chunk.Blocks[dx, dz, dy + 1] == self.gold and chunk.Blocks[dx, dz, dy + 2] == self.iron:
self.markers.append([x_pos, z_pos, dx, dz, dy])
for y in range(256):
chunk.Blocks[dx, dz, y] = 0
chunk.chunkChanged()

def copy_marked_area(self):
#Now we have the markers. Time to get serious
Expand Down