@Override
public ScoreboardObjectiveMessage decode(ByteBuf buffer) throws IOException {
String name = VanillaByteBufUtils.readString(buffer);
String display = VanillaByteBufUtils.readString(buffer);
byte action = buffer.readByte();
return new ScoreboardObjectiveMessage(name, display, action);
}