Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/17/24 in all areas

  1. In more recent versions of the API, your code may look look this: String message = "You picked up this item!"; ITextComponent msg = new StringTextComponent(message); PlayerEntity player = Minecraft.getInstance().player; player.sendMessage(msg, player.getUUID()); It kinda seems a little worse to me to have to put in the UUID like that even you you have access to the player, but I'm sure they had a good reason to change it up.
    1 point
  2. I am glad you solved the issue by yourself. You may want to share your solution, so other people seeing this post in the future may find it helpful
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.