Started by
_Ness
on
Topic category: Help with Minecraft modding (Java Edition)
Hi, I'd like to make a procedure that gives an entity the displayname of the closest player, is that possible ? Thanks in advance.
Topic category: Help with Minecraft modding (Java Edition)
Hi, I'd like to make a procedure that gives an entity the displayname of the closest player, is that possible ? Thanks in advance.
If you are able to also do it in a function you could do:
setblock ~ ~ ~ minecraft:oak_sign{Text1:'["",{"selector":"@p"}]'}
/execute as @e[type=pig] run data modify entity @s CustomName set from block -2 6 113 Text1
I don't know much about mcreator but I hope I could help :)