Started by
FellGill_
on
Topic category: Help with Minecraft modding (Java Edition)
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!
Could you help me?
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.
Re-edit mod elemetns that reference ProcedureAncientDebrisBlockDestroyedByPlayer procedure
Okay ! Thanks !