Checkpoint continued progress

This commit is contained in:
Andrew Miner
2025-10-08 12:35:18 -06:00
parent 11c938467f
commit 5a63d52088
85 changed files with 1390 additions and 541 deletions
+4 -4
View File
@@ -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()