double oldRadius = buffer.readDouble(); double newRadius = buffer.readDouble(); long speed = ByteBufUtils.readVarLong(buffer); return new WorldBorderMessage(action, oldRadius, newRadius, speed); case SET_CENTER: oldRadius = buffer.readDouble(); newRadius = buffer.readDouble(); speed = ByteBufUtils.readVarLong(buffer); int portalTeleportBoundary = ByteBufUtils.readVarInt(buffer); int warningTime = ByteBufUtils.readVarInt(buffer);