Hello. I am new to java, and do not possess any extensive knowledge to the programming language. I have a scoreboard that displays this upon the PlayerJoinEvent activating.
It displays something like this
Your stats
Pearls: 0
Blocks: 0
This scoreboard updates the amount of blocks you have broken and the amount of enderpearls you have thrown each time you break/throw one. The block break event works fine, but i cannot get the playerinteractevent to update the enderpearls each time you throw it.
Here's my code
It displays something like this
Your stats
Pearls: 0
Blocks: 0
This scoreboard updates the amount of blocks you have broken and the amount of enderpearls you have thrown each time you break/throw one. The block break event works fine, but i cannot get the playerinteractevent to update the enderpearls each time you throw it.
Here's my code