From 4e8cd3d50d3b78fc25a88e8fa3d894ac008e80ee Mon Sep 17 00:00:00 2001 From: unimatrixgit <95320811+unimatrixgit@users.noreply.github.com> Date: Sun, 29 Nov 2026 23:03:31 +0100 Subject: [PATCH] Record the six approved Crysknife pack additions --- tools/test_plugin_resource_pack.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/test_plugin_resource_pack.py b/tools/test_plugin_resource_pack.py index c9812073..0825140e 100644 --- a/tools/test_plugin_resource_pack.py +++ b/tools/test_plugin_resource_pack.py @@ -87,7 +87,10 @@ class CompletePackTests(unittest.TestCase): pack.Closure(custom,dict(older,**files)).validate() pack.validate_block_layer(files,older,[r['path'] for r in additions]) - self.assertEqual(set(files),set(baseline)|set(changes)|{'CREDITS-Excalibur.txt'}) + native_items={f'assets/dunerealms/{kind}/{item}.{extension}' + for item in ('crysknife','maker_tooth') + for kind,extension in (('items','json'),('models/item','json'),('textures/item','png'))} + self.assertEqual(set(files),set(baseline)|set(changes)|{'CREDITS-Excalibur.txt'}|native_items) else:self.assertEqual(set(files),set(baseline)) for key,expected in baseline.items(): if key!='pack.mcmeta':self.assertEqual(hashlib.sha256(files[key]).hexdigest(),changes.get(key,expected),key)