Checkpoint continued progress
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
from mcpacker.emit.markdown.report import Report
|
||||
from mcpacker.model.core.world import World
|
||||
from mcpacker.model.modpack import ModPack
|
||||
|
||||
|
||||
# Class ############################################################################################
|
||||
|
||||
class MineralReport(Report):
|
||||
|
||||
def __init__(self, world:World):
|
||||
super().__init__("minerals.md", world)
|
||||
def __init__(self, pack:ModPack):
|
||||
super().__init__("minerals.md", pack)
|
||||
|
||||
def build(self):
|
||||
for mineral in self.world.minerals.all():
|
||||
for mineral in self.pack.world.minerals.all():
|
||||
self.line(f"# Mineral: {mineral.name}")
|
||||
self.line()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user