Started by
Franc3schinello
on
Topic category: Help with Minecraft modding (Java Edition)
Hi guys, I'm getting CRAZY
For 2 hours I've been looking up between forums and my own mind but I couldn't get an answer so I'm asking directly to you hoping for a response in the short term.
I need to make some xp orbs spawn when the player breaks a SPECIFIC block but I don't know how should I do that.
For now, I only know how to give (not spawn orbs) exp to the player when he breaks blocks in general but how can I SPAWN exp orbs when the player breaks A SPECIFIC block?
Please help me because I'm getting insane.
on which version of mcreator are you working on?
im not sure when it has been implemented or whatever but there is an option to spawn experience orbs?
add a procedure on the trigger for the block - "when block destroyed by player"
and make a procedure with this block.
I'm working on the latest version and the mod is for Minecraft 1.20
I think it has been implemented but if it has not been implemented I just want it to give xp to the player when he breaks THAT block.
If I add the procedure "when player breaks a block" the game doesn't care if that's the block because I've not designated a specific block but when the player breaks a block in the world