If I have the armor, will I push all the entities around the player? help

Started by Jose4T5Y on

Topic category: Help with MCreator software

Last seen on 14:30, 11. Feb 2024
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If I have the armor, will I push all the entities around the player? help

If I have the armor when pressing right click will push all the entities that are around the player? this can be done with procedures

Last seen on 22:31, 19. Sep 2023
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If get item from armor slot …
Tue, 09/21/2021 - 22:02

If get item from armor slot () of Entity = Armor

do Attempt to override motion vector of [Get nearest entity at X Y Z in square cube with size (Number) of type (entity type)] to X: 0.5 Y:0.2 Z: 0.5

Last seen on 22:31, 19. Sep 2023
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Did you make it?
Tue, 09/28/2021 - 19:50

Did you make it?

Last seen on 22:31, 19. Sep 2023
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Here is a better version: If…
Sun, 01/09/2022 - 01:10

Here is a better version:

If get item from armor slot (0-3) of Entity = Your Armor

do

Attempt to override motion vector of

[Get nearest entity at X Y Z in square cube with size (Number) of type (entity type)] to

X: Direction (yaw) in deg. relative to S of Event/target entity 

Y:0.2

Z: Direction (yaw) in deg. relative to S of Event/target entity 

 

(This will make the entity move the same direction you are looking at. )