MCPcopy Index your code
hub / github.com/fogleman/Minecraft / show_sector

Method show_sector

main.py:357–364  ·  view source on GitHub ↗

Ensure all blocks in the given sector that should be shown are drawn to the canvas.

(self, sector)

Source from the content-addressed store, hash-verified

355 self._shown.pop(position).delete()
356
357 def show_sector(self, sector):
358 """ Ensure all blocks in the given sector that should be shown are
359 drawn to the canvas.
360
361 """
362 for position in self.sectors.get(sector, []):
363 if position not in self.shown and self.exposed(position):
364 self.show_block(position, False)
365
366 def hide_sector(self, sector):
367 """ Ensure all blocks in the given sector that should be hidden are

Callers 1

change_sectorsMethod · 0.95

Calls 2

exposedMethod · 0.95
show_blockMethod · 0.95

Tested by

no test coverage detected