aboutsummaryrefslogtreecommitdiff
path: root/codegen/lib/extract.py
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2025-08-04 20:43:10 -0500
committerGitHub <noreply@github.com>2025-08-04 20:43:10 -0500
commit23b7f20a0d88b54d430820baeb4a6da0316a009a (patch)
treef3e780515b3bbb9973d2b94338be6194b5ec0af3 /codegen/lib/extract.py
parent827d943c3f27c65724ff83689b40c87d1cd1838c (diff)
downloadazalea-drasl-23b7f20a0d88b54d430820baeb4a6da0316a009a.tar.xz
Default components (#232)
* add default components * remove debug prints * clippy * use default components * fix tests
Diffstat (limited to 'codegen/lib/extract.py')
-rw-r--r--codegen/lib/extract.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/codegen/lib/extract.py b/codegen/lib/extract.py
index 57ece9f2..eaebab84 100644
--- a/codegen/lib/extract.py
+++ b/codegen/lib/extract.py
@@ -40,6 +40,10 @@ def get_packets_report(version_id: str):
return get_report(version_id, "packets")
+def get_items_report(version_id: str):
+ return get_report(version_id, "items")
+
+
def get_report(version_id: str, name: str):
generate_data_from_server_jar(version_id)
with open(