Make Block dispense Exp at Interaction

Started by italy2003 on

Topic category: Help with modding (Java Edition)

Last seen on 06:02, 12. Oct 2021
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make Block dispense Exp at Interaction

How do I allow a player right click my block and have the block dispense experience orbs with a specified amount of Exp which passively increase over time?

More exact, every ingame-day the "counter" should increase by 1 Exp Level. It accumulates passively and the Exp is dispensed at the top of the block when it's right clicked.

1 Day = 1 Level
2 Days = 2 Levels
etc.

Last seen on 22:49, 17. Mar 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can summon XP orbs as…
Tue, 11/03/2020 - 18:34

You can summon XP orbs as entities, same way you'd summon any other entity. And I believe there's a way to detect the day number in the dimension.