Started by
BobLaGPU
on
Topic category: Help with Minecraft modding (Java Edition)
Hello, I am creating a mod with a new ore, I created a procedure so that the ore drops XP only in survival, and I made my ore work with fortune and silk touch
Now my 2 problems are:
- I don't want my ore to drop XP when it's broken with a pickaxe enchanted with silk touch
- And I want my ore to drop XP only with an appropriate tool (example: it is only breakable with a netherite pickaxe, so I don't want that when we break the ore with a diamond pickaxe we still get xp)
Thanks for reading ! (translated from French to English with Google Traduction)