Custom NBT from block to item

Started by LeDamy on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom NBT from block to item

myissueIm trying to make a battery item that drains energy from a block
 

for some reason its not working as intended, the energy is drained from the block infinitely but theres no power added to the item, its stuck at 0.

Also before anyone asks, no im not using FE, i want my mod to have its own energy system using NBT and so far it worked great, only now that im trying to put energy from a block into an item it wont work for some reason.

Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How are you the player…
Mon, 04/21/2025 - 16:06

How are you the player detecting that the item has energy

 

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i gave it a description
Mon, 04/21/2025 - 22:16

i gave it a description

desk_procedure