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

Started by merdoc2 on Thu, 12/13/2018 - 22:53

Topic category: Help with MCreator software

Last seen on 21:00, 2. Feb 2020
Joined Dec 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do you make a section of code that finds a block
Thu, 12/13/2018 - 22:53

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.

Last seen on 13:48, 26. Oct 2020
Joined Nov 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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

Last seen on 13:48, 26. Oct 2020
Joined Nov 2018
User points:

User statistics:

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

You may want to make the camera an entity.

Last seen on 16:15, 6. May 2020
Joined Oct 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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