Started by
Ante19
on
Topic category: Help with Minecraft modding (Java Edition)
Is this possible to add random quality (e. g. Hardy Stone Pickaxe - x 1,5 durability or slow Iron sword -1 tool speed) to crafted tools and armor and putting qualities on them with special scrolls on anvil.
Hi.
First you need to go to the when crafted trigger of your tool and create a procedure. In it create a local variable and put a random number to it using the random function. Then using if, elif etc for a certain number you want to put a certain enchantement to the tool.
It's not really what you wanned but if you don't want to code then do this.
If you want to code then read this : https://mcreator.net/forum/107043/dynamicly-changing-pickaxe-efficiency-minespeed