Help with a mod about popping slimes

Started by MJGTMKME123 on

Topic category: Help with MCreator software

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with a mod about popping slimes

Hey, I'm trying to make a mod (just for fun!) about large slimes (not medium-sized or small slimes) popping when they are hit/attacked with a needle once, but I don't know how to do it because I'm not really good at coding.

I made a custom item (needle), but I'm stuck trying to make the procedure to:

1. Check if the entity is a large slime
2. Verify if the player left-clicked the large slime with a needle
3. Remove the slime (still drop xp and slime balls), play the sound, and stop the event (no death animation for the slime, and the slime instantly disappears when popped with a needle)