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

Active 5 years ago
Joined Dec 2018
Points:
711

User statistics:

  • Modifications: 0
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 7
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

Active 2 months ago
Joined May 2014
Points:
1036

User statistics:

  • Modifications: 3
  • Forum topics: 24
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 329
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.