Traveler's Backpack [Fabric]

Traveler's Backpack [Fabric]

11M Downloads

The villager's trading NBT will copy the player's backpack NBT information

xiaofan7520 opened this issue ยท 1 comments

commented
  1. ALWAYS PROVIDE INFORMATION ABOUT MODLOADER (Fabric / Forge) AND MOD VERSION (For Example 1.19.2-8.2.10)
    1.20.1 Forge-47.1.47
    1.20.1 mohist-1.20.1-426-server
    TravelersBackpack-1.20.1-9.1.7

  2. Describe the bug
    If villager's trading NBT have "minecraft:air", This mod will copy all the information of the first to join the player's backpack in this NBT

  3. Write steps to reproduce the bug
    1;Get a backpack
    2;Put something in your backpack and fill it with some fluid
    3;Carry this backpack
    4;Use command:"kill @e[type=minecraft:villager]"
    5;Summon a villager and give it a job
    6;Use any NBT viewing method to view the villager's "Recipes" NBT. For example use command:"data get entity @e[type=minecraft:villager,limit=1] Offers.Recipes"
    7;You can see that each "minecraft:air" is followed by all the information on the backpack. It will look like this: "buyB: {id: "minecraft:air", Count: 0b, tag: {CraftingInventory:XXXXXX"

  4. What is expected behaviour
    Do nothing

  5. Screenshots (If applicable)
    image