Bug Open

IngredientsLeftover repairs durability of instruments

#6910 opened by Unknown 6 months ago

Unknownreported this bug

Environment: all latest builds for MM and MC Server: 1.21.11 (clent connected with older 1.21.10 with viabacwards)

Expected behavior: Items, which has durability left it actual state (durability, enchaments etc) if it's part of leftover ingredient in craft.

Current behavior: Items, return to top left corner and fully repairs (resets) to it base state, like it was put there from createNewItem(mmid) function.

Enhacement behavior: Items or crafts could have property 'dirability_consume', which can controll durability of item or even repair it if it was set with recipe like some "repair kits".

Code for Ctrl + C & Ctrl + V:

BronzeKnife:
  Id: COPPER_SHOVEL
  MaxDurability: 200
SpruceHandle:
  Id: stick
  Recipes:
    SHAPELESS:
      Type: SHAPELESS
      Amount: 1
      IngredientsLeftover:
        - BronzeKnife
      Ingredients:
        - SPRUCE_PLANKS
        - BronzeKnife

Video with demonstration: [Legacy attachment omitted]

This ticket will be repeated in the discord for fast and easy communication.

Thank you for your time and work!

Sign in to join the discussion.