Block losing energy after being pushed by a piston

Started by lazardemon 92 on

Topic category: Help with Minecraft modding (Java Edition)

Active 10 months ago
Joined Dec 2023
Points:
81

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
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?

Active 14 hours ago
Joined Oct 2021
Points:
534

User statistics:

  • Modifications: 3
  • Forum topics: 12
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 48
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)