Component result = Component.text()
.append(firstComponent)
.append(displayName)
.build();
You can find the Adventure's docs here: https://docs.advntr.dev/text.html
As far as the server is concerned the player always has their inventory open.
I guess try clearing those slots after the PlayerMoveEvent (not sure if that wouldn't also clear them when the player is moved by e.g. water).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.