Push entities like star wars

Started by Overtek on Wed, 05/13/2020 - 19:53

Topic category: Help with modding (Java Edition)

Last seen on 12:13, 11. Apr 2021
Joined Oct 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Push entities like star wars
Wed, 05/13/2020 - 19:53

Hello !

I'm creating a mod with lightsabers and force like star wars. I want to create a procedure that push entities when the player sneak and righ click with of course a delay. Unfortunately I don't find a way to do that with the procedure. I try, first, with somes commandes but it's weard. I know we can do a thing like that by detecting the position of entites in front of the player but nothing work.
Can you help me ?

Last seen on 05:49, 19. Jun 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Uhh,more info please(attach…
Fri, 06/05/2020 - 15:11

Uhh,more info please(attach workspace to mediafire)

Last seen on 17:22, 8. Jun 2021
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
if you're using 2020.3 or…
Fri, 06/05/2020 - 18:56

if you're using 2020.3 or above, i think you can do something like this:

create a new procedure element. in the first green event trigger box select from the global trigger pulldown "Player right clicks on entity". use Entity code block "Move (target entity) to", and replace the x,y,z with Entity code blocks "(source entity) look position x/y/z - raytrace distance(n)", replace n with the distance you want the target to move. (in 2020.2 you can't use the source player)

also if 2020.3, you need to also check if the source player is sneaking or can use the force.

Last seen on 15:23, 2. Apr 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
So i am trying to do this…
Sun, 10/18/2020 - 20:31

So i am trying to do this but I didnt found a move target entity block

Last seen on 15:23, 2. Apr 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
also it says dependences…
Sun, 10/18/2020 - 20:34

also it says dependences missing

Last seen on 17:22, 8. Jun 2021
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
do something like this:
Mon, 10/19/2020 - 03:00

do something like this:

https://cdn.discordapp.com/attachments/599250311852458006/767582811384578078/unknown.png

Last seen on 15:23, 2. Apr 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
ok thx for replying
Mon, 10/19/2020 - 10:05

ok thx for replying