When right clicked a block it removes 1 entity and adds another to players inventory

Started by carl4020 on

Topic category: Help with MCreator software

Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When right clicked a block it removes 1 entity and adds another to players inventory

This is a example: When i right click stone with pink dye in my main hand it removes the pink dye and gives me green dye. How? This is what i got am i wrong? Help
How far i've come

Joined May 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Your procedure might not…
Wed, 11/06/2019 - 21:31

Your procedure might not work because you're dealing 0.5 damage to the entity. 1 damage = half a heart. Other than that, it looks fine to me.