Issues with Right clicking mobs to Despawn them.

Started by FlipperTAB on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 15:14, 13. Jul 2023
Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Issues with Right clicking mobs to Despawn them.

I have created a mod that adds 2 types of Snails and a Snailer's Glove

The goal is to be able to pick up the snails with the Snailer's Glove and be able to place them down elsewhere. So far I have created the 2 snail mobs, the glove, and the gloves containing each snail type.
https://imgur.com/40X6xtF
But currently depending on whether or not I include "NOT" before "Item in main-hand of" I can either pull snails out of the air using the glove (though not when looking at a snail) and place them down on solid ground where ever I look whilst holding the respective full glove, or make the "pick up snail noise" which is the item frame sound exclusively when right clicking a snail with an empty glove (as intended) but nothing else works.

Pick up yellow snail with empty glove:
https://imgur.com/uxKIoCy
Place down yellow snail with full glove:
https://imgur.com/XICaPbH
Also when placing the snail back down it spawns in the floor due to the "xyz" but I do not know how to make it place on the block face like a spawn egg.