Powered items (Neoforge 1.21.1)

Started by Enigan on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Powered items (Neoforge 1.21.1)
Sun, 08/24/2025 - 15:25 (edited)

Hello everyone. I googled a lot, and asked GPT about this, but I can't find any information. 

GPT recommended to use JAVA or use Damage bar to show its energy contained inside.

I liked this idea and already made it, but I encountered a problem. Minecraft thinks that item is repairable and created a recipe for repairing it.

Image of repair recipe
Now I have a question, it is possible to remove that recipe? 

P.S. GPT also recommend to use NBT to store info about energy inside.

Edited by Enigan on Sun, 08/24/2025 - 15:25