Files
xczjhk/统计/_sa_hanhua_out/_tmp/scan_blueprint.py
T
2026-10-09 18:08:05 +08:00

14 lines
485 B
Python

import zipfile
f = r'e:\MCStudioDownload\work\3027246179@qq.com\Cpp\AddOn\309c2d420bc84ee986db9cdd070ff02a\_sa_hanhua_out\sa_essentials-forge-1.20.1-1.0.0.jar'
z = zipfile.ZipFile(f)
print('=== jar 顶层条目(data/ 相关) ===')
for n in z.namelist():
if n.startswith('data/') and (n.endswith('.json')):
print(' ', n)
print()
print('=== Blueprint 相关类 ===')
for n in z.namelist():
if n.endswith('.class') and 'blueprint' in n.lower():
print(' ', n)