Jump to content

Jgj5

Members
  • Posts

    1
  • Joined

  • Last visited

Jgj5's Achievements

Tree Puncher

Tree Puncher (2/8)

1

Reputation

  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.
×
×
  • Create New...

Important Information

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