i need help making a syringe

Started by von on

Topic category: Help with MCreator software

Last seen on 21:02, 11. Jun 2023
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i need help making a syringe

Im currently trying to make a tool that if you hit an entity with it, gives you an item, i somehow cant seem to do this, any tips?  basically what im trying to do is make a syringe tool that gives  the user blood when they hit an entity.
but if i make it give the blood to the target after hitting an entity, it gives the blood to the entity that was hit
while i need it to give the blood to the tool user

Last seen on 07:34, 25. Oct 2023
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sorry but to give the user…
Sat, 06/11/2022 - 04:35

Sorry but to give the user the blood you need to use the sourceenity. You just need to replace the "Event/target entity" with "Source entity", you can find it in Minecraft components tab. Anyway, hope it will help you with your mod.