-
Bug
-
Resolution: Duplicate
-
None
-
1.19.22 Hotfix
-
None
-
Creative
-
Unconfirmed
-
Windows
There is a serious bug after using item json minecraft::weapon, when I die after attacking with a weapon once, the weapon will drop two pieces, which will cause the enchanted weapon to replicate infinitely in survival mode.
Step 1: Create or download a custom weapon and add the minecraft::weapon component to the project json.
Step 2: Enter the game, no matter what mode, hold the custom weapon in your hand and attack the entity (just guessing this step triggers the on_hurt_entity event, this step is required).
Step 3: Let yourself die, at this point, you can even discard the custom weapon, Whether it's equipped or not, whether you have it or not.
Result: BUG appears, after rebirth go to where you died, and two custom weapons will fall there, you can pick them up and use them. Both weapons are identical, including the enchantment properties.
Please observe the screenshot.
- duplicates
-
MCPE-128897 Durability causes custom item duplication on death
- Resolved