Custom Tools Crash Game if Component Values are Insane Unlike Pre 1.16.100 Component Values
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.
Created Issue:
Custom Tools Crash Game if Component Values are Insane
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: RepeatMethod 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: RepeatObserved 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.
Custom Tools Crash Game if Component Values are Insane Unlike Pre 1.16.100 Component Values
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: RepeatMethod 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: RepeatObserved 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.
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: RepeatMethod 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: RepeatObserved 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.
Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response.
Is this still an issue in the latest version? If yes, can you please add it to the affected versions (or mention it if you are not the reporter)?
This ticket will automatically reopen when you reply.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki
Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.
For any account or purchasing related issues, please contact Minecraft Customer Support directly, as we cannot assist with those here at the bug tracker.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki