Tool not detected if enchanted

Started by gyvaton on

Topic category: Help with Minecraft modding (Java Edition)

Active 4 months ago
Joined May 2023
Points:
177

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
Tool not detected if enchanted

I'm making a mod that adds artifacts and you can only have one type of artifact at a time. When I made a pickaxe artifact I noticed that the other artifact that I had in my inventory started working even though I had a different artifact but that one was enchanted. The system works by an artifact checking for other artifacts every tick.