Save Custom Text in Block

Started by xhytenzhi on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Save Custom Text in Block

Hello,

i want to store a custom text into a block, when it is placed by a player.
i´ve seen a tutorial with activating "tile entity", but i couldnt do this for already existing blocks in Minecraft.

Also i would need to activate it for every single block i will create.

 

Example:

Player places a block. The placed block receive a custom text tag "owner" with the value of the player ID who placed it.

 

Doing this for items is easy ( just create a custom data text tag via procedure ).
Would be nice to have a similar way for blocks ( where i dont know why it does not exist... )

 

Thanks.