How to make block collect exp orbs?

Started by Pan_Glitch on Sat, 04/23/2022 - 19:39

Topic category: Help with modding (Java Edition)

Last seen on 20:41, 7. May 2022
Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to make block collect exp orbs?
Sat, 04/23/2022 - 19:39

I want to make exp collector (block) to make energy from exp points. The problem is that I don't know how to make block collect exp. 

Last seen on 08:34, 16. Jun 2022
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Just a though, if there is a…
Sun, 05/22/2022 - 13:43

Just a though, if there is a entity type for exp orb

maybe you can try to create value for block and check for a area from x y z of block, if there is a exp orb nearby kill it and increase your value.

and when player breaks the block summonX[value] exp orb

 

idk never tried it