Issues with Right clicking mobs to Despawn them.

Started by FlipperTAB on Sat, 05/21/2022 - 17:18

Topic category: Troubleshooting, bugs, and solutions

Last seen on 08:36, 22. May 2022
Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Issues with Right clicking mobs to Despawn them.
Sat, 05/21/2022 - 17:18

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.