Block losing energy after being pushed by a piston

Started by lazardemon 92 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Block losing energy after being pushed by a piston

I am working on a battery block that stores energy.

I also want to make the block pushable by pistons, but when a piston pushes the block, it loses all of its energy

is there any way around this?

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This cannot be done becauseā€¦
Wed, 12/13/2023 - 10:06

This cannot be done because the block loses its energy information after the piston is pushed.  All blocks-entities in Minecraft cannot be moved by a piston (like an furnace or a chest)