feat: wowmine: immersive portals
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
# Craftable Loot Chests recipes
|
||||
|
||||
`wowmine-rules/pack.mcmeta` filters recipe resources in the
|
||||
`craftable_loot_chests` namespace with the unique `recipe/recipe_sealed_`
|
||||
prefix. Installed version1.0.0 contains18matching files for coal, diamond,
|
||||
food, gold, iron, lapis, netherite and village chests, including alternatives.
|
||||
The original server loads16of those recipes; both coal recipes are already
|
||||
unloaded. All18resource files are covered by the filter.
|
||||
|
||||
The mod stays installed. Item/block registrations, loot resources, existing
|
||||
placed chests and inventory items are not removed.
|
||||
|
||||
Keep the path prefix narrow. Minecraft1.21.1 ResourceFilterSection tests
|
||||
namespace and path independently across its block list. A broad `recipe/.*`
|
||||
path in this shared pack would also filter recipes from other namespaces
|
||||
already listed there. Validation must compare all other RecipeManager IDs,
|
||||
not only check that this mod's recipes disappeared.
|
||||
|
||||
Verification uses separate cold starts of a matching disposable server and
|
||||
compares RecipeManager IDs, item/block registrations, loot resources and a
|
||||
chest saved before applying the filter. Native deployment likewise restarts
|
||||
the server. A hot-reload trial failed on a separate duplicate
|
||||
`mango_compat_delight:cutting/stripped_cinnamon_log` registration; this change
|
||||
does not attempt to fix that mod's reload behavior.
|
||||
|
||||
Cold-start comparisons also exposed a generated Create Dragons Plus polishing
|
||||
recipe occasionally missing. Its provider asynchronously saves resources into
|
||||
an unsynchronized HashMap. QA uses `-Dmax.bg.threads=1` for both baseline and
|
||||
filtered starts to keep the generated data stable while retaining the strict
|
||||
all-other-recipe comparison. This JVM setting is test-only.
|
||||
|
||||
The final strict comparison passed: 21,528 recipes became21,512, with exactly
|
||||
the16loaded Craftable Loot Chests recipes removed and no other recipe IDs
|
||||
added or lost. All25registered mod items,16blocks and28loot resources remained
|
||||
equal. A placed sealed diamond chest survived the filtered cold restart with
|
||||
the same block state. Existing live rules were copied into the native snapshot
|
||||
before adding the filter, preserving all six prior restrictions.
|
||||
Reference in New Issue
Block a user