Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-134077

Custom Tools Crash Game if Component Values are Insane Unlike Pre 1.16.100 Component Values

XMLWordPrintable

    • Unconfirmed
    • Multiple

      Summary: I was building a sword that mimics the infinity sword from a mod on Java and while doing that I realized custom tools have a limit on how high there component values can be otherwise the players game crashes. Furthermore if you try to alter the enchantable value or digger speeds or durability and make the values above the limit which isn't shared in the addon documentation then your game crashes.

      Methods to Reproduce:

      Method 1: Create a Sword
      Step 1: Start by Making a Addon.
      Step 2: Make Items folder.
      Step 3: Copy the Code Below.
      Step 4: Delete the Description and Event.
      Step 5: Repeat

      Method 2: Create a Pickaxe, Axe or Shovel.
      Step 1: Start by Making a Addon.
      Step 2: Make Items folder.
      Step 3: Use the Code Below Custom Sword.
      Step 4: Delete the Description and Event.
      Step 5: Repeat

      Observed Result: If a Addon Creator wants to make a Custom Tool as Overpowered as the Infinity Sword from Java there game instantly crashes most likely the game isn't programmed to handle a certain threshold that the value can be but if you ignore the tool related stuff or made a tool pre 1.16.100 you can make the damage up to 999999 instead of the current limit of 99.

      Expected Result: Component Value Limit for Damage and Durability and Digger Speed should match pre 1.16.100 of 999999 max damage durability etc.

            BuggyBedrock Zenet101791
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: