var separatorOne = (" / ");
var separatorTwo = (" / ");
var coordsplayer = (int) mc.player.getPosX() + separatorOne + (int) mc.player.getPosY() + separatorTwo + mc.player.getPosZ();
float textWidth = Fonts.sfui.getWidth(coordsplayer, fontSize);
drawStyledRect(posX, posY, textWidth + 12, 20, 4);
Fonts.sfui.drawText(eventDisplay.getMatrixStack(), coordsplayer, posX + 5, posY + 5, -1, fontSize, 0);