How to make block collect exp orbs?

Started by Pan_Glitch on

Topic category: Help with modding (Java Edition)

Last seen on 12:00, 23. Aug 2023
Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make block collect exp orbs?

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 14:17, 8. Aug 2023
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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