Started by
blumpy
on
Topic category: Help with Minecraft modding (Java Edition)
I want to make a sword be enchanted whenever it gets into a player's inventory, is this even possible?
Topic category: Help with Minecraft modding (Java Edition)
I want to make a sword be enchanted whenever it gets into a player's inventory, is this even possible?
You can try make a procudure with "on player tick update" then "for each slot of inventory" if itemstack iterator = your item do set enchantment.