Get Entity player is riding

Started by Leptromasster on

Topic category: Help with modding (Java Edition)

Last seen on 23:33, 18. Jul 2022
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Get Entity player is riding

I'm making a mod for 1.16.5 and I need some help on trying to get the entity the player is riding I have no idea what procedure block to use so I really need some help.

Last seen on 01:23, 24. Dec 2022
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Entity data -> Get entity …
Tue, 07/05/2022 - 22:42

Entity data -> Get entity [Event/target entity] is riding

Last seen on 23:33, 18. Jul 2022
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you
Wed, 07/06/2022 - 19:19

Thank you

Last seen on 19:16, 25. Dec 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Could you show an example? …
Fri, 08/05/2022 - 22:37

Could you show an example?  I've never used the light blue procedures before with getting entities, I'm wanting to make a strider gain a potion effect if its being ridden on.  Thanks!

Last seen on 13:56, 19. Dec 2022
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Light blue blocks are logic…
Fri, 08/05/2022 - 22:58

Light blue blocks are logic blocks. If you hook it up to an if statement, you're basically checking if something's true or false. So attach the block to an if statement(in flow control tab). Then add a potion effect through the procedure block(search potion in the search bar.)