Topic category: Help with modding (Java Edition)
I've got myself an interesting situation here. To help draw the picture here, my mod is based on Mario Party 7 from the Nintendo GameCube. I also use MCreator 2020.2 for Minecraft 1.12.2 and don't plan on upgrading it since I started this over 3 years ago. I already have all the music tracks in it, but what I'm having trouble with right now specifically is the Fireball Orb that Mario and Luigi use.
The way I have it is when "FireballOrbHitsPlayer", it will:
- Remove 10 Coins from provided players inventory.
- Send to chat to all players: Create text with:
- Get display name of provided entity.
- " - 10 coins"
- Execute command / "playsound minecraft:entity.player.hurt voice @p" in the name of the provided entity.
Here's a picture of what I just described in MCreator 2020.2 for 1.12.2:
Before you all say anything, I have tried it out in the game and when I throw the orb, it takes away coins from MY inventory, but I want to take coins away from the PLAYER'S inventory the orb lands on. I've even tried changing the global trigger to "entity attacked" and it takes away coins from cows apparently, but that's not what I want. Lol.
If anybody knows how I might be able to fix this, please let me know.
Thanks in advance. :)