How do you make a section of code that finds a block

Started by merdoc2 on

Topic category: Help with MCreator software

Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do you make a section of code that finds a block

I am trying to make a fnaf mod however I am stuck on the cameras portion. Everything works with the cameras except I cant see what they would see. My current solution is to teleport the player to the camera however I am not able to find the coordinates that the camera is at. If anyone knows how I could either preform what I am trying to do or has a better way please tell me.

Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Do teleport player to entity…
Fri, 12/14/2018 - 22:56

Do teleport player to entity camera.

Or use commands /tp @p[r=4] @e[r = 4, type = camera]

It will be something like this

Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You may want to make the…
Fri, 12/14/2018 - 22:56

You may want to make the camera an entity.

Joined Oct 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you want to teleport the…
Mon, 12/24/2018 - 18:20

If you want to teleport the player to a position, you should do it by Procedures.

Using commands will only work if the player has Cheats Activated