how to make entity invisible while player is moving

Started by Ahlad Gameing on

Topic category: Help with modding (Java Edition)

Last seen on 01:59, 25. Aug 2024
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to make entity invisible while player is moving

I'm trying to recreate BTs from death stranding and i need to figure out how to make them invisible while the player is moving, all i can see is checking if the entity is moving, not the player

Last seen on 13:38, 27. Aug 2024
Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For entity thing in triggers…
Sun, 08/25/2024 - 19:52

For entity thing in triggers section there is a "entity on tick update" and in it set global trigger to "on player tick update"

and put u procedure in it

I hope i helped in some way

Last seen on 12:46, 14. Sep 2024
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There is a procedure block…
Sun, 08/25/2024 - 21:52

There is a procedure block that will get the nearest entity of a certain type within a range, and you can set it to players, then use it in place of the event/target entity in your procedure to get the movement.

This comes with the downside that it will crash the game if there are no players in range, but luckily there is another procedure block that you can put in an if block that checks if a specified entity type[you can set it to players] exists within a range, so you can make sure that there is a nearby player before you get their movement vector.