Get player coordinates

Started by FellGill_ on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Get player coordinates

How to recover the coordinates of a player who breaks a block?

 

I have already tried to do something but each time I get this error that comes up: 21:27.46 [Server thread/INFO] [STDERR]: [fr.fellgill.procedure.ProcedureAncientDebrisBlockDestroyedByPlayer:executeProcedure:19 Failed to load dependency entity for procedure AsphaltBlockDestroyedByPlayer!

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Could you help me?
Wed, 04/15/2020 - 19:38

Could you help me?

Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can create a procedure…
Wed, 04/15/2020 - 21:32

You can create a procedure triggered on "a block is broken" and then, go to "Minecraft components" tab and use the "x", "y" and "z" blocs. Or if your block is a custom block, just link your procedure to the "on block broken" event and do the same for the x y and z blocs.

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Okay ! Thanks !
Thu, 04/16/2020 - 12:16

Okay ! Thanks !