Mojira Archive
MC-271761

The "namespace" field of filter in pack.mcmeta leaks through definitions

(corrected after reading the comment by tryashtar)

The bug

If several blocks, including a block that filters out paths in namespace "minecraft", are defined in the filter, blocks that specify a not "minecraft" namespace will also filter out the same paths they say in "minecraft" namespace.

The attachment is a datapack to verify this behavior. It only contains a pack.mcmeta that filters out vanilla advancements and recipes from a namespace that does not exist.

How to reproduce

  1. Download the datapack attached and install it to a world
  2. Enter the world
  3. Press "L" (or the key bind to open advancements tab) and observe that all vanilla advancements are disabled
  4. Execute this command through chat to get all recipes 
    /recipe give @s * 
  • Observe that all vanilla recipes are disabled

 

Unresolved

Muo-Tian

2024-05-08, 03:48 PM

2024-12-27, 11:51 PM

7

4

Confirmed

Normal

Platform

Data Packs, Resource Packs

1.20.6, 1.21.4

-